summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-02-15 01:38:24 -0500
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-02-15 17:52:55 +0100
commitb0c0a49918b6fd5f75cbd7565429a1398ddc80a9 (patch)
tree7e4b378fcc80b81e9116761846a1727cf8cb58eb
parentb9890fe507efc65bdffc9f5ae984a6cb6ac2487f (diff)
Define prototype for bogus in gensym.awk
Otherwise gcc will complain that bogus does not have a prototype. Message-Id: <Y+x94PG9qeCnZEpc@jupiter.tail36e24.ts.net>
-rw-r--r--gensym.awk1
1 files changed, 1 insertions, 0 deletions
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";
}