From e4d16e0434e2dde0f64739bbdab0f1f05ecabf80 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Wed, 17 Sep 2008 20:22:53 +0000 Subject: [PATCH] fix yyerror declaration and definition --- fsinfo/fsi_lex.l | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fsinfo/fsi_lex.l b/fsinfo/fsi_lex.l index bbd2c64..044a102 100644 --- a/fsinfo/fsi_lex.l +++ b/fsinfo/fsi_lex.l @@ -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; -- 2.34.1