summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2020-06-18 17:39:12 +0200
committerDavid Härdeman <david@hardeman.nu>2020-06-18 17:39:12 +0200
commit723458dfa7e6246b5de7c7943175c78cf901366a (patch)
tree1186f07615c58e2c2aa339425221ceea2996434b
parent7a631d32c72a0290792d8cd20f2b5d6e3f0af9e5 (diff)
add another function attr
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 7b14654..ac6a385 100644
--- a/main.c
+++ b/main.c
@@ -328,7 +328,7 @@ const struct {
}
};
-static void
+__attribute__((noreturn)) static void
usage(int argc, char **argv, bool invalid)
{
if (invalid)