]> granicus.if.org Git - sudo/commitdiff
make yyerror()'s argument const
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 27 Sep 2004 16:02:50 +0000 (16:02 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 27 Sep 2004 16:02:50 +0000 (16:02 +0000)
parse.yacc

index 225da15fe950eddbb4ddc98b112c5a1296f9040d..9349ff71e3a249655d6a6418a9c37473155e1b99 100644 (file)
@@ -199,11 +199,11 @@ static void expand_match_list     __P((void));
 static aliasinfo *find_alias   __P((char *, int));
 static int  more_aliases       __P((void));
        void init_parser                __P((void));
-       void yyerror            __P((char *));
+       void yyerror            __P((const char *));
 
 void
 yyerror(s)
-    char *s;
+    const char *s;
 {
     /* Save the line the first error occurred on. */
     if (errorlineno == -1)