2005-02-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* redistribute.c: (zebra_check_addr,is_default,
zebra_redistribute_default,zebra_redistribute) Fix scope to be static.
diff --git a/zebra/redistribute.c b/zebra/redistribute.c
index 20a2b78..949159d 100644
--- a/zebra/redistribute.c
+++ b/zebra/redistribute.c
@@ -40,7 +40,7 @@
/* master zebra server structure */
extern struct zebra_t zebrad;
-int
+static int
zebra_check_addr (struct prefix *p)
{
if (p->family == AF_INET)
@@ -65,7 +65,7 @@
return 1;
}
-int
+static int
is_default (struct prefix *p)
{
if (p->family == AF_INET)
@@ -82,7 +82,7 @@
return 0;
}
-void
+static void
zebra_redistribute_default (struct zserv *client)
{
struct prefix_ipv4 p;
@@ -136,7 +136,7 @@
}
/* Redistribute routes. */
-void
+static void
zebra_redistribute (struct zserv *client, int type)
{
struct rib *newrib;