diff options
author | ajs <ajs> | 2005-02-24 16:06:33 +0000 |
---|---|---|
committer | ajs <ajs> | 2005-02-24 16:06:33 +0000 |
commit | 27da3988c30c333cd75cffc5565682366bb99513 (patch) | |
tree | cbe0458dcab6e47a733c86c3fc8676c88236d136 | |
parent | 81fb32404c942432d2bea1e50a4d53bf75fd0f70 (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.
-rw-r--r-- | zebra/ChangeLog | 5 | ||||
-rw-r--r-- | zebra/redistribute.c | 8 |
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; |