diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-11-23 12:43:15 -0800 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2015-11-23 13:31:11 -0800 |
| commit | 35dece848d46456441d75181953290a23193e84c (patch) | |
| tree | 9d3b79f1f811fb0d3c24bcba27b923a026d0a490 /bgpd/bgp_main.c | |
| parent | 3a7c85d1dedb672ba19ea8958f18f5f7d0fe2321 (diff) | |
Quagga: Fixup some compile warnings
Fixup compile warnings for when you turn on --enable-gcc-ultra-verbose=yes
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
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; |
