]> granicus.if.org Git - sudo/commitdiff
Allow this to build with a K&R compiler again
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 30 Sep 2004 19:58:10 +0000 (19:58 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 30 Sep 2004 19:58:10 +0000 (19:58 +0000)
parse.yacc
sudo.tab.c

index ed91212a0a1cb7e8d0d570571a885c7700503cb6..1c6771f6665171c5b2956194b2df1fa39bc1fac5 100644 (file)
@@ -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. */
index d28cb8c037a01a4b601239225a11d83e18d45c97..be4b0a761c295dccd769f1e8b4928a48acef3fa9 100644 (file)
@@ -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;