projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84f5f59
)
liboconfig: Declare yyparse().
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 ();
^
src/liboconfig/oconfig.c
patch
|
blob
|
history
diff --git
a/src/liboconfig/oconfig.c
b/src/liboconfig/oconfig.c
index
181eadd
..
56ccefb
100644
(file)
--- 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;