aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-07-30 17:23:44 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-07-30 17:23:44 +0000
commite753509f9fa015698c177ea43170e75c0c0468b1 (patch)
treeb5c975daab4f8fdc5017756c4c3a1e80780f7acd
parent199f4ec6acbbc80cfa46a94e51fa82f16f39680f (diff)
Notes
-rw-r--r--contrib/bison/bison.simple4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/bison/bison.simple b/contrib/bison/bison.simple
index aea6b78c20a00..4de8f28fae4b6 100644
--- a/contrib/bison/bison.simple
+++ b/contrib/bison/bison.simple
@@ -150,8 +150,12 @@ int yydebug; /* nonzero means print parse trace */
/* Prevent warning if -Wstrict-prototypes. */
#ifdef __GNUC__
+#ifdef YYPARSE_PARAM
+int yyparse (void *);
+#else
int yyparse (void);
#endif
+#endif
#if __GNUC__ > 1 /* GNU C and GNU C++ define this. */
#define __yy_memcpy(TO,FROM,COUNT) __builtin_memcpy(TO,FROM,COUNT)