From: Todd C. Miller Date: Thu, 30 Sep 2004 19:58:10 +0000 (+0000) Subject: Allow this to build with a K&R compiler again X-Git-Tag: SUDO_1_7_0~911 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6fa20c570f8090d858a0534af00d95f50310cb6e;p=sudo Allow this to build with a K&R compiler again --- diff --git a/parse.yacc b/parse.yacc index ed91212a0..1c6771f66 100644 --- a/parse.yacc +++ b/parse.yacc @@ -1257,7 +1257,8 @@ expand_match_list() * for various data structures. */ void -init_parser(char *path) +init_parser(path) + char *path; { /* Free up old data structures if we run the parser more than once. */ diff --git a/sudo.tab.c b/sudo.tab.c index d28cb8c03..be4b0a761 100644 --- a/sudo.tab.c +++ b/sudo.tab.c @@ -1020,7 +1020,8 @@ expand_match_list() * for various data structures. */ void -init_parser(char *path) +init_parser(path) + char *path; { /* Free up old data structures if we run the parser more than once. */ @@ -1045,7 +1046,7 @@ init_parser(char *path) sudoers = estrdup(path); } -#line 997 "sudo.tab.c" +#line 998 "sudo.tab.c" /* allocate initial stack or double stack size, up to YYMAXDEPTH */ #if defined(__cplusplus) || defined(__STDC__) static int yygrowstack(void) @@ -2008,7 +2009,7 @@ case 95: yyval.BOOLEAN = TRUE; } break; -#line 1960 "sudo.tab.c" +#line 1961 "sudo.tab.c" } yyssp -= yym; yystate = *yyssp;