summaryrefslogtreecommitdiff
path: root/zebra
diff options
context:
space:
mode:
Diffstat (limited to 'zebra')
-rw-r--r--zebra/ChangeLog5
-rw-r--r--zebra/redistribute.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/zebra/ChangeLog b/zebra/ChangeLog
index 35d2aa87..f29d2eac 100644
--- a/zebra/ChangeLog
+++ b/zebra/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2005-02-20 Hasso Tepper <hasso at quagga.net>
* rt_netlink.c: Don't show messages "ignoring message type 0x001[89]"
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;