]> jfr.im git - solanum.git/commitdiff
Get rid of some K&R style function declarations for conf parser.
authorJilles Tjoelker <redacted>
Tue, 10 Jun 2008 22:54:02 +0000 (00:54 +0200)
committerJilles Tjoelker <redacted>
Tue, 10 Jun 2008 22:54:02 +0000 (00:54 +0200)
src/ircd_parser.y
src/s_conf.c

index dbb834fbecc0081c9ab52f0c172f5309509a41fe..1da9398cf4f6a4fe1176c8a8f19b16330a1b9714 100644 (file)
@@ -25,9 +25,9 @@
 
 #define YY_NO_UNPUT
 
-int yyparse();
+int yyparse(void);
 int yyerror(const char *);
-int yylex();
+int yylex(void);
 
 static time_t conf_find_time(char*);
 
index 19f9f3e025eefb4929f549820bb1e04ac6dbf874..a0060d2190b422e5f66911da0a53eeaa86b0df72 100644 (file)
@@ -50,7 +50,7 @@
 
 struct config_server_hide ConfigServerHide;
 
-extern int yyparse();          /* defined in y.tab.c */
+extern int yyparse(void);              /* defined in y.tab.c */
 extern char linebuf[];
 
 #ifndef INADDR_NONE