Allow this to build with a K&R compiler again

This commit is contained in:
Todd C. Miller
2004-09-30 19:58:10 +00:00
parent 9c15884b29
commit 6fa20c570f
2 changed files with 6 additions and 4 deletions

View File

@@ -1257,7 +1257,8 @@ expand_match_list()
* for various data structures. * for various data structures.
*/ */
void void
init_parser(char *path) init_parser(path)
char *path;
{ {
/* Free up old data structures if we run the parser more than once. */ /* Free up old data structures if we run the parser more than once. */

View File

@@ -1020,7 +1020,8 @@ expand_match_list()
* for various data structures. * for various data structures.
*/ */
void void
init_parser(char *path) init_parser(path)
char *path;
{ {
/* Free up old data structures if we run the parser more than once. */ /* Free up old data structures if we run the parser more than once. */
@@ -1045,7 +1046,7 @@ init_parser(char *path)
sudoers = estrdup(path); sudoers = estrdup(path);
} }
#line 997 "sudo.tab.c" #line 998 "sudo.tab.c"
/* allocate initial stack or double stack size, up to YYMAXDEPTH */ /* allocate initial stack or double stack size, up to YYMAXDEPTH */
#if defined(__cplusplus) || defined(__STDC__) #if defined(__cplusplus) || defined(__STDC__)
static int yygrowstack(void) static int yygrowstack(void)
@@ -2008,7 +2009,7 @@ case 95:
yyval.BOOLEAN = TRUE; yyval.BOOLEAN = TRUE;
} }
break; break;
#line 1960 "sudo.tab.c" #line 1961 "sudo.tab.c"
} }
yyssp -= yym; yyssp -= yym;
yystate = *yyssp; yystate = *yyssp;