From e03782c6b6feae908e6c8c76b1fa5025212afe12 Mon Sep 17 00:00:00 2001 From: Nick Briggs Date: Tue, 13 Dec 2022 13:14:15 -0800 Subject: [PATCH] fix warning: a function declaration without a prototype is deprecated in all versions of C --- src/lpytab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lpytab.c b/src/lpytab.c index 681197f..06c87a5 100644 --- a/src/lpytab.c +++ b/src/lpytab.c @@ -214,7 +214,7 @@ int yychar; /* current input token number */ /* ** yyparse - return 0 if worked, 1 if syntax error not recovered from */ -int yyparse() { +int yyparse(void) { YYSTYPE *yypvt; /* top of value stack for $vars */ /*