From 4ad6660f3585c156e136747da08f4f8c97e45c4a Mon Sep 17 00:00:00 2001 From: Nikolaj Bjorner Date: Mon, 9 Sep 2013 09:24:35 -0700 Subject: [PATCH] add const qualifiers to fix warning messages Signed-off-by: Nikolaj Bjorner --- examples/tptp/tptp5.tab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tptp/tptp5.tab.c b/examples/tptp/tptp5.tab.c index 7fcf7915b..c97225f4c 100644 --- a/examples/tptp/tptp5.tab.c +++ b/examples/tptp/tptp5.tab.c @@ -107,7 +107,7 @@ struct pTreeNode { pTree children[MAX_CHILDREN+1]; }; //----------------------------------------------------------------------------- -int yyerror( char *s ) { +int yyerror( char const *s ) { fprintf( stderr, "%s in line %d at item \"%s\".\n", s, yylineno, yytext); return 0;