summaryrefslogtreecommitdiff
path: root/zebra/main.c
diff options
context:
space:
mode:
authorpaul <paul>2005-06-28 17:17:12 +0000
committerpaul <paul>2005-06-28 17:17:12 +0000
commita1ac18c4d5b4f8f4f279efb2ae12b46258f22282 (patch)
treee37732ef4b00ae98d1be693e721b01cc2566ba39 /zebra/main.c
parent94f2b3923e9663d0355a829f22e4e31cf68ee7b8 (diff)
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
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);