From: Sebastian Harl Date: Tue, 31 Dec 2013 00:23:01 +0000 (+0100) Subject: Declare sdb_fe_yyparse() in parser.h. X-Git-Tag: sysdb-0.1.0~266 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4453841c2411a02cee30d0d12e46f559fb907b7d;p=sysdb.git Declare sdb_fe_yyparse() in parser.h. Apparently, older versions of bison do not include the function prototype in the generated header file. Double-declarations don't hurt (as long as they match). --- diff --git a/src/include/frontend/parser.h b/src/include/frontend/parser.h index b942248..5491e9c 100644 --- a/src/include/frontend/parser.h +++ b/src/include/frontend/parser.h @@ -41,6 +41,9 @@ sdb_fe_scanner_init(const char *str); void sdb_fe_scanner_destroy(sdb_fe_yyscan_t scanner); +int +sdb_fe_yyparse(sdb_fe_yyscan_t scanner); + #ifdef __cplusplus } /* extern "C" */ #endif