mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 04:01:59 +00:00
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:
parent
d7a083844d
commit
c143c38bc7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user