From 448889a4f0c32ba8ea61f870d4edcb0e0d58af85 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Tue, 20 Dec 2022 20:01:02 -0500 Subject: Use -Wstrict-prototypes and fix warnings Most of the changes include defining and using proper function type declarations (with argument types declared) and avoiding using the K&R style of function declarations. Message-Id: --- gensym.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gensym.awk') diff --git a/gensym.awk b/gensym.awk index f5eabae5..63c2f440 100644 --- a/gensym.awk +++ b/gensym.awk @@ -27,7 +27,7 @@ BEGIN { /^[a-z]/ { if (bogus_printed == "no") { - print "void bogus() {"; + print "void bogus(void) {"; bogus_printed = "yes"; } } -- cgit v1.2.3