From 4453841c2411a02cee30d0d12e46f559fb907b7d Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 31 Dec 2013 01:23:01 +0100 Subject: [PATCH] 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). --- src/include/frontend/parser.h | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.30.2