2005-06-28 Paul Jakma <paul.jakma@sun.com>
* (global) Extern and static'ification, with related fixups
of declarations, ensuring files include their own headers, etc.
if_ioctl.c: (interface_info_ioctl) fix obvious arg mis-order in
list loop
diff --git a/zebra/main.c b/zebra/main.c
index 540bf31..acfde80 100644
--- a/zebra/main.c
+++ b/zebra/main.c
@@ -37,6 +37,7 @@
#include "zebra/debug.h"
#include "zebra/router-id.h"
#include "zebra/irdp.h"
+#include "zebra/rtadv.h"
/* Zebra instance */
struct zebra_t zebrad =
@@ -149,7 +150,7 @@
}
/* SIGHUP handler. */
-void
+static void
sighup (void)
{
zlog_info ("SIGHUP received");
@@ -159,7 +160,7 @@
}
/* SIGINT handler. */
-void
+static void
sigint (void)
{
/* Decrared in rib.c */
@@ -177,7 +178,7 @@
}
/* SIGUSR1 handler. */
-void
+static void
sigusr1 (void)
{
zlog_rotate (NULL);
@@ -215,8 +216,6 @@
char *config_file = NULL;
char *progname;
struct thread thread;
- void rib_weed_tables ();
- void zebra_vty_init ();
/* Set umask before anything for security */
umask (0027);