From: Florian Forster Date: Tue, 16 Jun 2015 21:06:56 +0000 (+0200) Subject: liboconfig: Declare yyparse(). X-Git-Tag: collectd-5.5.1~110^2^2~1 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=53be6eefcb3d53634e04ffb1ca3db7fd7f064c34;p=collectd.git 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 (); ^ --- 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;