From b9f46fc5fac60ea483eb487568fc47cc6a02bc63 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Wed, 11 Jun 2008 00:54:02 +0200 Subject: [PATCH] Get rid of some K&R style function declarations for conf parser. --- src/ircd_parser.y | 4 ++-- src/s_conf.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ircd_parser.y b/src/ircd_parser.y index dbb834f..1da9398 100644 --- a/src/ircd_parser.y +++ b/src/ircd_parser.y @@ -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*); diff --git a/src/s_conf.c b/src/s_conf.c index 19f9f3e..a0060d2 100644 --- a/src/s_conf.c +++ b/src/s_conf.c @@ -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