summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_main.c
diff options
context:
space:
mode:
authorPaul Jakma <paul.jakma@sun.com>2008-08-15 14:45:30 +0200
committerPaul Jakma <paul@quagga.net>2008-08-22 20:52:58 +0200
commit6ac29a51075def99217a4ab1015635db3b3e83ed (patch)
tree1152b55eb3a2099c67a0ba8e62d7e41f07e00135 /ospf6d/ospf6_main.c
parent[lib] mes_lookup string lookup table argument should be marked const (diff)
downloadfrr-6ac29a51075def99217a4ab1015635db3b3e83ed.tar.xz
frr-6ac29a51075def99217a4ab1015635db3b3e83ed.zip
[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.
Diffstat (limited to 'ospf6d/ospf6_main.c')
-rw-r--r--ospf6d/ospf6_main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c
index 680f4b7fa..73d9150e8 100644
--- a/ospf6d/ospf6_main.c
+++ b/ospf6d/ospf6_main.c
@@ -125,14 +125,14 @@ Report bugs to zebra@zebra.org\n", progname);
}
/* 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 @@ sigint (void)
}
/* SIGTERM handler. */
-void
+static void
sigterm (void)
{
zlog_notice ("Terminating on signal SIGTERM");
@@ -148,7 +148,7 @@ sigterm (void)
}
/* SIGUSR1 handler. */
-void
+static void
sigusr1 (void)
{
zlog_info ("SIGUSR1 received");