X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/558fa3fbbb2e6fd1bed6dec54ef603ceb6c943ad..b1a0f651d803e1c1ff50f559b50de5c2dd6236d4:/conffile.y diff --git a/conffile.y b/conffile.y index cd53b7c..1625122 100644 --- a/conffile.y +++ b/conffile.y @@ -10,6 +10,7 @@ #include #include "secnet.h" #include "conffile_internal.h" +#include "conffile.yy.h" #include "util.h" #define YYERROR_VERBOSE @@ -17,7 +18,7 @@ static struct p_node *node(uint32_t type, struct p_node *l, struct p_node *r); static struct p_node *result; -static void yyerror(char *s); +static void yyerror(const char *s); %} @@ -73,7 +74,7 @@ item: TOK_STRING %% -static void yyerror(char *s) +static void yyerror(const char *s) { Message(M_FATAL,"config file %s line %d: %s\n",config_file, config_lineno,s);