From a1ac18c4d5b4f8f4f279efb2ae12b46258f22282 Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 28 Jun 2005 17:17:12 +0000 Subject: 2005-06-28 Paul Jakma * (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 --- zebra/main.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'zebra/main.c') 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); -- cgit v1.2.1