[trivia] finish off static'ification of ospf6d and ripngd
2008-08-15 Paul Jakma <paul.jakma@sun.com>
* {ospf6d,ripngd}/*: Finish job of marking functions as static, or
exporting declarations for them, to quell warning noise with
Quagga's GCC default high-level of warning flags. Thus allowing
remaining, more useful warnings to be more easily seen.
diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c
index 680f4b7..73d9150 100644
--- a/ospf6d/ospf6_main.c
+++ b/ospf6d/ospf6_main.c
@@ -125,14 +125,14 @@
}
/* SIGHUP handler. */
-void
+static void
sighup (void)
{
zlog_info ("SIGHUP received");
}
/* SIGINT handler. */
-void
+static void
sigint (void)
{
zlog_notice ("Terminating on signal SIGINT");
@@ -140,7 +140,7 @@
}
/* SIGTERM handler. */
-void
+static void
sigterm (void)
{
zlog_notice ("Terminating on signal SIGTERM");
@@ -148,7 +148,7 @@
}
/* SIGUSR1 handler. */
-void
+static void
sigusr1 (void)
{
zlog_info ("SIGUSR1 received");