diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2011-12-07 01:25:46 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2011-12-07 01:25:46 +0400 |
commit | c143c38bc707194d52aec544e62e5485c6c4bc08 (patch) | |
tree | 7938595b9e34ac8787d5c1a7a589c46f25db0fdc | |
parent | d7a083844db63b3dda412c755ce69bf13f41961f (diff) |
ospf6d: fix compile warning from falling off end of main
ospf6 main always calls ospf6_exit() which always calls exit.
Use attributes to tell GCC that this is ok.
-rw-r--r-- | ospf6d/ospf6_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c index 0e613152..6f7717c8 100644 --- a/ospf6d/ospf6_main.c +++ b/ospf6d/ospf6_main.c @@ -129,7 +129,7 @@ Report bugs to zebra@zebra.org\n", progname); exit (status); } -static void +static void __attribute__ ((noreturn)) ospf6_exit (int status) { extern struct ospf6 *ospf6; |