summaryrefslogtreecommitdiff
path: root/zebra/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/main.c')
-rw-r--r--zebra/main.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/zebra/main.c b/zebra/main.c
index 540bf316..acfde80a 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 @@ usage (char *progname, int status)
}
/* SIGHUP handler. */
-void
+static void
sighup (void)
{
zlog_info ("SIGHUP received");
@@ -159,7 +160,7 @@ sighup (void)
}
/* SIGINT handler. */
-void
+static void
sigint (void)
{
/* Decrared in rib.c */
@@ -177,7 +178,7 @@ sigint (void)
}
/* SIGUSR1 handler. */
-void
+static void
sigusr1 (void)
{
zlog_rotate (NULL);
@@ -215,8 +216,6 @@ main (int argc, char **argv)
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);