diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2010-05-14 13:26:22 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-05-14 13:26:22 +0200 |
commit | 24bb07802df1608319f40f77c606d45c14d59231 (patch) | |
tree | 70376a9d00e1d206cb8b9828faf9c9b9123b3d83 | |
parent | 84d758b3bc3121a5603261699c474f64672ef9f6 (diff) |
iptables: add noreturn attribute to exit_tryhelp()
Found by gcc -Wmissing-noreturn.
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
-rw-r--r-- | ip6tables.c | 2 | ||||
-rw-r--r-- | iptables.c | 2 |
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) @@ -237,7 +237,7 @@ enum { IPT_DOTTED_MASK }; -static void +static void __attribute__((noreturn)) exit_tryhelp(int status) { if (line != -1) |