summaryrefslogtreecommitdiffstats
path: root/isisd/isis_main.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-11-23 21:43:15 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-11-23 22:31:11 +0100
commit35dece848d46456441d75181953290a23193e84c (patch)
tree9d3b79f1f811fb0d3c24bcba27b923a026d0a490 /isisd/isis_main.c
parentlib: Fixup of NULL calls to XSTRDUP (diff)
downloadfrr-35dece848d46456441d75181953290a23193e84c.tar.xz
frr-35dece848d46456441d75181953290a23193e84c.zip
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 'isisd/isis_main.c')
-rw-r--r--isisd/isis_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/isisd/isis_main.c b/isisd/isis_main.c
index a19399c5a..e28846bf6 100644
--- a/isisd/isis_main.c
+++ b/isisd/isis_main.c
@@ -164,7 +164,7 @@ reload ()
safe_strerror (errno));
}
-static void
+static __attribute__((__noreturn__)) void
terminate (int i)
{
exit (i);
@@ -183,14 +183,14 @@ sighup (void)
return;
}
-void
+__attribute__((__noreturn__)) void
sigint (void)
{
zlog_notice ("Terminating on signal SIGINT");
terminate (0);
}
-void
+__attribute__((__noreturn__)) void
sigterm (void)
{
zlog_notice ("Terminating on signal SIGTERM");