summaryrefslogtreecommitdiff
path: root/t/yacc-subdir.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/yacc-subdir.sh')
-rw-r--r--t/yacc-subdir.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/yacc-subdir.sh b/t/yacc-subdir.sh
index 5f3862187..879b433c6 100644
--- a/t/yacc-subdir.sh
+++ b/t/yacc-subdir.sh
@@ -49,7 +49,7 @@ mkdir foo
cat > foo/parse.y << 'END'
%{
int yylex () { return 0; }
-void yyerror (char *s) {}
+void yyerror (const char *s) {}
%}
%%
foobar : 'f' 'o' 'o' 'b' 'a' 'r' {};