prog.c: In function 'test':
prog.c:10:21: error: 'func1void' undeclared (first use in this function)
#define func1(x) func1void
^
prog.c:16:5: note: in expansion of macro 'func1'
func1(10);
^
prog.c:10:21: note: each undeclared identifier is reported only once for each function it appears in
#define func1(x) func1void
^
prog.c:16:5: note: in expansion of macro 'func1'
func1(10);
^
prog.c: At top level:
prog.c:21:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
{
^
prog.c:33:6: error: conflicting types for 'func1'
void func1(int a)
^
prog.c:3:6: note: previous declaration of 'func1' was here
void func1(void);
^