From 53be6eefcb3d53634e04ffb1ca3db7fd7f064c34 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 16 Jun 2015 23:06:56 +0200 Subject: [PATCH] liboconfig: Declare yyparse(). Should hopefully fix: oconfig.c:68:12: error: implicit declaration of function 'yyparse' is invalid in C99 [-Werror,-Wimplicit-function-declaration] status = yyparse (); ^ --- src/liboconfig/oconfig.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/liboconfig/oconfig.c b/src/liboconfig/oconfig.c index 181eadd2..56ccefbf 100644 --- a/src/liboconfig/oconfig.c +++ b/src/liboconfig/oconfig.c @@ -25,6 +25,7 @@ #include "oconfig.h" extern FILE *yyin; +extern int yyparse (void); oconfig_item_t *ci_root; const char *c_file; -- 2.11.0