prog.c: In function ‘main’:
prog.c:14:5: error: implicit declaration of function ‘p1’ [-Werror=implicit-function-declaration]
p1(fvar);
^~
prog.c: At top level:
prog.c:25:6: error: conflicting types for ‘p1’ [-Werror]
void p1(unsigned int tmp)
^~
prog.c:14:5: note: previous implicit declaration of ‘p1’ was here
p1(fvar);
^~
cc1: all warnings being treated as errors