Found by gcc -Wmissing-noreturn. Signed-off-by: Dmitry V. Levin <ldv@xxxxxxxxxxxx> --- ip6tables.c | 2 +- iptables.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ip6tables.c b/ip6tables.c index e2359df..d98a66f 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 08eb134..b4b8982 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) -- ldv -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html