From 24bb07802df1608319f40f77c606d45c14d59231 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Fri, 14 May 2010 13:26:22 +0200 Subject: iptables: add noreturn attribute to exit_tryhelp() Found by gcc -Wmissing-noreturn. Signed-off-by: Dmitry V. Levin Signed-off-by: Patrick McHardy --- ip6tables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ip6tables.c') 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) -- cgit v1.2.3