X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=conffile.y;fp=conffile.y;h=1a8ef364a215567579bbf5fb230d0bf75b5ce0fd;hb=fe5e9cc422cd72526ccfceffbc7e5af8ac83b407;hp=cd53b7cf88f349d919e9fc0c18af69e46479bd5a;hpb=4f5e39ecfaa49376b0a5c3a4c384e91a828c1105;p=secnet.git diff --git a/conffile.y b/conffile.y index cd53b7c..1a8ef36 100644 --- a/conffile.y +++ b/conffile.y @@ -17,7 +17,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 +73,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);