We get a linker warning otherwise from YYSTYPE changing. --- a/lib/getdate.y +++ b/lib/getdate.y @@ -1,3 +1,5 @@ +%define api.prefix {getdate} + %{ /* ** Originally written by Steven M. Bellovin while @@ -117,10 +119,6 @@ extern struct tm *localtime(); extern time_t get_date(char * p, struct timeb * now); /*@=exportheader@*/ -#define yyparse getdate_yyparse -#define yylex getdate_yylex -#define yyerror getdate_yyerror - static int yyparse (void); static int yylex (void); static int yyerror(const char * s); --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,7 +1,7 @@ noinst_HEADERS = flow-dscan.h pcap.h cflowd.h acl2.h -BUILT_SOURCES = aclyacc.h +BUILT_SOURCES = aclyacc.h acllex.c AM_YFLAGS = -d EXTRA_DIST = ftbuild.sh