Line 4: error: expected declaration specifiers or '...' before 'va_list'
In function 'f':
Line 6: error: 'ap' undeclared (first use in this function)
Line 6: error: (Each undeclared identifier is reported only once
Line 6: error: for each function it appears in.)
In function 'b':
Line 11: error: 'va_list' undeclared (first use in this function)
Line 11: error: expected ';' before 'ap'
Line 12: error: 'ap' undeclared (first use in this function)
Line 13: error: expected expression before 'int'
Line 14: error: too many arguments to function 'f'