commit | c143c38bc707194d52aec544e62e5485c6c4bc08 | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@vyatta.com> | Wed Dec 07 01:25:46 2011 +0400 |
committer | Denis Ovsienko <infrastation@yandex.ru> | Wed Dec 07 01:25:46 2011 +0400 |
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.
diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c index 0e61315..6f7717c 100644 --- a/ospf6d/ospf6_main.c +++ b/ospf6d/ospf6_main.c
@@ -129,7 +129,7 @@ exit (status); } -static void +static void __attribute__ ((noreturn)) ospf6_exit (int status) { extern struct ospf6 *ospf6;