]> granicus.if.org Git - sudo/commitdiff
Do not declare yyparse() static as the actual function generated
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 13 Aug 2011 17:39:56 +0000 (13:39 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 13 Aug 2011 17:39:56 +0000 (13:39 -0400)
by yacc is extern.

--HG--
branch : 1.7

getdate.c
getdate.y

index 7544c3f712d440d18709b23a3c5c3f1640e711ad..2aba77f3246137c1a4f910843c39c32f0d30b49e 100644 (file)
--- a/getdate.c
+++ b/getdate.c
@@ -112,7 +112,7 @@ static time_t       yyRelSeconds;
 
 static int     yyerror __P((char *s));
 static int     yylex __P((void));
-static int     yyparse __P((void));
+       int     yyparse __P((void));
 
 #line 107 "getdate.y"
 #ifndef YYSTYPE_DEFINED
index 709408319f5c32298022e0033b5c47d9c4596ed8..58a4a6ddd2d48b86afb062e83543bd328a937e8b 100644 (file)
--- a/getdate.y
+++ b/getdate.y
@@ -100,7 +100,7 @@ static time_t       yyRelSeconds;
 
 static int     yyerror __P((char *s));
 static int     yylex __P((void));
-static int     yyparse __P((void));
+       int     yyparse __P((void));
 
 %}