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.
This commit is contained in:
Stephen Hemminger 2011-12-07 01:25:46 +04:00 committed by Denis Ovsienko
parent d7a083844d
commit c143c38bc7

View File

@ -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;