summaryrefslogtreecommitdiffstats
path: root/proto/ospf/neighbor.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2004-06-05 11:58:23 +0200
committerMartin Mares <mj@ucw.cz>2004-06-05 11:58:23 +0200
commit9831e5916f6956377739f948869d377b091f5c92 (patch)
tree47fd922a6348067faa9a2441cbe480fe8bc6be75 /proto/ospf/neighbor.c
parent598b984d1f04ea71fc04bc89f390f230a3960680 (diff)
downloadbird-9831e5916f6956377739f948869d377b091f5c92.tar
bird-9831e5916f6956377739f948869d377b091f5c92.zip
Staticized lots of local functions.
Diffstat (limited to 'proto/ospf/neighbor.c')
-rw-r--r--proto/ospf/neighbor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c
index 1ccc276..3337aab 100644
--- a/proto/ospf/neighbor.c
+++ b/proto/ospf/neighbor.c
@@ -210,7 +210,7 @@ electdr(list nl)
return(n);
}
-int
+static int
can_do_adj(struct ospf_neighbor *n)
{
struct ospf_iface *ifa;
@@ -569,7 +569,6 @@ void
rxmt_timer_hook(timer *timer)
{
struct ospf_neighbor *n = (struct ospf_neighbor *)timer->data;
- struct ospf_iface *ifa = n->ifa;
struct top_hash_entry *en;
DBG("%s: RXMT timer fired on interface %s for neigh: %I.\n",