summaryrefslogtreecommitdiff
path: root/t/silent-yacc-headers.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/silent-yacc-headers.sh')
-rw-r--r--t/silent-yacc-headers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/silent-yacc-headers.sh b/t/silent-yacc-headers.sh
index c10fc5cc4..0582973f5 100644
--- a/t/silent-yacc-headers.sh
+++ b/t/silent-yacc-headers.sh
@@ -39,7 +39,7 @@ EOF
cat > parse.y <<'EOF'
%{
-void yyerror (char *s) { return; }
+void yyerror (const char *s) {}
int yylex (void) { return 0; }
int main (void) { return 0; }
%}