aboutsummaryrefslogtreecommitdiff
path: root/gg.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-07-22 16:08:21 +0000
committerOmar Polo <op@omarpolo.com>2023-07-22 16:08:21 +0000
commit67ae3d8e03348c995b0afc3aebb7a5772bbd5b06 (patch)
treeea861d62847d06096492af4bbd2093cdba38da67 /gg.c
parentda3fc66ee834634f99d5b94cc4090c64114a215f (diff)
use __dead instead of __attribute__((noreturn))
Diffstat (limited to 'gg.c')
-rw-r--r--gg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gg.c b/gg.c
index d8508f2..3349f6f 100644
--- a/gg.c
+++ b/gg.c
@@ -305,7 +305,7 @@ get(const char *r)
}
}
-static void __attribute__((noreturn))
+static void __dead
usage(void)
{
fprintf(stderr, "version: " GG_STRING "\n");