summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ip6tables.c2
-rw-r--r--iptables.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ip6tables.c b/ip6tables.c
index 6ee42819..4e73d34e 100644
--- a/ip6tables.c
+++ b/ip6tables.c
@@ -224,7 +224,7 @@ proto_to_name(u_int8_t proto, int nolookup)
return NULL;
}
-static void
+static void __attribute__((noreturn))
exit_tryhelp(int status)
{
if (line != -1)
diff --git a/iptables.c b/iptables.c
index 25bc8cc6..19c2af54 100644
--- a/iptables.c
+++ b/iptables.c
@@ -237,7 +237,7 @@ enum {
IPT_DOTTED_MASK
};
-static void
+static void __attribute__((noreturn))
exit_tryhelp(int status)
{
if (line != -1)