projects
/
am-utils-6.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3a75b6
)
fix yyerror declaration and definition
author
Christos Zoulas
<christos@zoulas.com>
Wed, 17 Sep 2008 20:22:53 +0000
(20:22 +0000)
committer
Christos Zoulas
<christos@zoulas.com>
Wed, 17 Sep 2008 20:22:53 +0000
(20:22 +0000)
fsinfo/fsi_lex.l
patch
|
blob
|
history
diff --git
a/fsinfo/fsi_lex.l
b/fsinfo/fsi_lex.l
index bbd2c64a605ff1ca6990970990a7d24d61370360..044a102a2b8fca40aa30073d95010b3bc63d01c2 100644
(file)
--- 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(c
onst c
har *fmt, ...)
{
va_list ap;