diff options
Diffstat (limited to 'bgpd/bgp_main.c')
| -rw-r--r-- | bgpd/bgp_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_main.c b/bgpd/bgp_main.c index bf154db046..c61940833c 100644 --- a/bgpd/bgp_main.c +++ b/bgpd/bgp_main.c @@ -192,7 +192,7 @@ sighup (void) } /* SIGINT handler. */ -void +__attribute__((__noreturn__)) void sigint (void) { zlog_notice ("Terminating on signal"); @@ -218,7 +218,7 @@ sigusr1 (void) Zebra route removal and protocol teardown are not meant to be done here. For example, "retain_mode" may be set. */ -static void +static __attribute__((__noreturn__)) void bgp_exit (int status) { struct bgp *bgp; |
