fix yyerror declaration and definition
authorChristos Zoulas <christos@zoulas.com>
Wed, 17 Sep 2008 20:22:53 +0000 (20:22 +0000)
committerChristos Zoulas <christos@zoulas.com>
Wed, 17 Sep 2008 20:22:53 +0000 (20:22 +0000)
fsinfo/fsi_lex.l

index bbd2c64a605ff1ca6990970990a7d24d61370360..044a102a2b8fca40aa30073d95010b3bc63d01c2 100644 (file)
@@ -115,6 +115,8 @@ static int ayylineno;
 int yywrap(void);
 #endif /* not yywrap */
 
+int yyerror(const char *, ...);
+
 YYSTYPE yylval;
 static char *fsi_filename;
 static char *optr;
@@ -236,7 +238,7 @@ find_resword(char *s)
 
 
 int
-yyerror(char *fmt, ...)
+yyerror(const char *fmt, ...)
 {
   va_list ap;