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 --- iptables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iptables.c') 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) -- cgit v1.2.3