bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH gnumach] Define prototype for bogus in gensym.awk


From: Flavio Cruz
Subject: [PATCH gnumach] Define prototype for bogus in gensym.awk
Date: Wed, 15 Feb 2023 01:38:24 -0500

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

[Prev in Thread] Current Thread [Next in Thread]