From 519783bb9812ba5d53383e0422cb6b1d4f38b392 Mon Sep 17 00:00:00 2001 From: rlar Date: Sun, 28 Feb 2016 14:20:14 +0100 Subject: [PATCH] =?utf8?q?warning:=20redundant=20redeclaration=20of=20?= =?utf8?q?=E2=80=98yyparse=E2=80=99=20[-Wredundant-decls]?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/flexdef.h | 1 - src/main.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flexdef.h b/src/flexdef.h index 343e81d..ecd6b41 100644 --- a/src/flexdef.h +++ b/src/flexdef.h @@ -983,7 +983,6 @@ extern void synerr(const char *); /* report a syntax error */ extern void format_warn(const char *, const char *); extern void warn(const char *); /* report a warning */ extern void yyerror(const char *); /* report a parse error */ -extern int yyparse(void); /* the YACC parser */ /* from file scan.l */ diff --git a/src/main.c b/src/main.c index e6ea2ab..9bec0c8 100644 --- a/src/main.c +++ b/src/main.c @@ -36,6 +36,7 @@ #include "version.h" #include "options.h" #include "tables.h" +#include "parse.h" static char flex_version[] = FLEX_VERSION; -- 2.40.0