Hi All
I get following error while compiling in gcc. please help me.
generate.h:140: error: conflicting types for âprintfâ
generate.h:140: note: a parameter list with an ellipsis canât match an empty parameter name list declaration
generate.h:140: error: conflicting types for âscanfâ
generate.h:140: note: a parameter list with an ellipsis canât match an empty parameter name list declaration
generate.h:140: error: conflicting types for âfprintfâ
generate.h:140: note: a parameter list with an ellipsis canât match an empty parameter name list declaration
root@user-desktop:/home/user/test2# conflicting types for âprintf
here is the code below with line number.
139 /* library functions */
140 extern int printf(),scanf(),fprintf();
141 extern void exit();
142
143 extern double drand48();
144 extern long lrand48();
145 extern void srand48();