From b68d83d072cc09570cae6bd148f06483248c5c5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mina=20Gali=C4=87?= Date: Sun, 24 Sep 2023 00:05:33 +0100 Subject: [PATCH] fix last left-over K&R function declaration (#121) > a function definition without a prototype is deprecated in all > versions of C and is not supported in C2x Fix the last straggler. --- common/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/main.c b/common/main.c index a7e60f1a..807dbde3 100644 --- a/common/main.c +++ b/common/main.c @@ -419,8 +419,7 @@ err: rval = 1; * PUBLIC: void v_end(GS *); */ void -v_end(gp) - GS *gp; +v_end(GS *gp) { MSGS *mp; SCR *sp;