]> granicus.if.org Git - sudo/commitdiff
init_parser now takes a path
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 28 Sep 2004 18:31:38 +0000 (18:31 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 28 Sep 2004 18:31:38 +0000 (18:31 +0000)
testsudoers.c

index c191c9d71acb8b1671c543f0f4399a94bac3f7a3..ca137823edcaa3ae3ebcac9021c04973f56e7783 100644 (file)
@@ -82,7 +82,6 @@ static const char rcsid[] = "$Sudo$";
 /*
  * Prototypes
  */
-void init_parser       __P((void));
 void dumpaliases       __P((void));
 void set_perms_dummy   __P((int));
 
@@ -426,7 +425,7 @@ main(argc, argv)
     load_interfaces();
 
     /* Allocate space for data structures in the parser. */
-    init_parser();
+    init_parser("sudoers");
 
     if (yyparse() || parse_error) {
        (void) printf("doesn't parse.\n");