summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 84f5f59)
raw | patch | inline | side by side (parent: 84f5f59)
author | Florian Forster <octo@collectd.org> | |
Tue, 16 Jun 2015 21:06:56 +0000 (23:06 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Tue, 16 Jun 2015 21:06:56 +0000 (23:06 +0200) |
Should hopefully fix:
oconfig.c:68:12: error: implicit declaration of function 'yyparse' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
status = yyparse ();
^
oconfig.c:68:12: error: implicit declaration of function 'yyparse' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
status = yyparse ();
^
src/liboconfig/oconfig.c | patch | blob | history |
index 181eadd26282b8b0506baf3504310cb48c45b469..56ccefbf4e26e0e51f77c74f77e376f395db8ef8 100644 (file)
--- a/src/liboconfig/oconfig.c
+++ b/src/liboconfig/oconfig.c
#include "oconfig.h"
extern FILE *yyin;
+extern int yyparse (void);
oconfig_item_t *ci_root;
const char *c_file;