Otherwise gcc will complain that bogus does not have a prototype.
---
 gensym.awk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gensym.awk b/gensym.awk
index 63c2f440..609d9273 100644
--- a/gensym.awk
+++ b/gensym.awk
@@ -27,6 +27,7 @@ BEGIN {
 /^[a-z]/ {
        if (bogus_printed == "no")
        {
+               print "void bogus(void);"
                print "void bogus(void) {";
                bogus_printed = "yes";
        }
-- 
2.39.0


Reply via email to