1
0
forked from bip/bip

Compatibility fix with bison 2.6

Bison 2.6 now declares yyparse in the generated header. This fix
ensure it still works for older versions.

Reported in Debian#710614
This commit is contained in:
Marc Dequènes (Duck) 2013-10-18 17:31:47 +02:00
parent 71801fb3d2
commit 8b98c3746e
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ static int add_server(bip_t *bip, struct server *s, list_t *data)
#define ERRBUFSZ 128
extern list_t *root_list;
int yyparse();
extern int yyparse();
void conf_die(bip_t *bip, char *fmt, ...)
{

View File

@ -17,7 +17,7 @@
int linec;
#include "util.h"
extern list_t *root_list;
void yyparse(void);
extern int yyparse(void);
void free_conf(list_t*);
int conf_error;
typedef struct bip bip_t;