summaryrefslogtreecommitdiff
path: root/zebra/redistribute.c
diff options
context:
space:
mode:
authorajs <ajs>2005-02-24 16:06:33 +0000
committerajs <ajs>2005-02-24 16:06:33 +0000
commit27da3988c30c333cd75cffc5565682366bb99513 (patch)
treecbe0458dcab6e47a733c86c3fc8676c88236d136 /zebra/redistribute.c
parent81fb32404c942432d2bea1e50a4d53bf75fd0f70 (diff)
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.
Diffstat (limited to 'zebra/redistribute.c')
-rw-r--r--zebra/redistribute.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/zebra/redistribute.c b/zebra/redistribute.c
index 20a2b78a..949159de 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 @@ zebra_check_addr (struct prefix *p)
return 1;
}
-int
+static int
is_default (struct prefix *p)
{
if (p->family == AF_INET)
@@ -82,7 +82,7 @@ is_default (struct prefix *p)
return 0;
}
-void
+static void
zebra_redistribute_default (struct zserv *client)
{
struct prefix_ipv4 p;
@@ -136,7 +136,7 @@ zebra_redistribute_default (struct zserv *client)
}
/* Redistribute routes. */
-void
+static void
zebra_redistribute (struct zserv *client, int type)
{
struct rib *newrib;