diff options
author | Denis Ovsienko <infrastation@yandex.ru> | 2011-10-03 14:08:01 +0400 |
---|---|---|
committer | Denis Ovsienko <infrastation@yandex.ru> | 2011-10-17 18:36:14 +0400 |
commit | e48591a63220a90af9276a21877d80362bc6a408 (patch) | |
tree | 4f7e183e9e045d0014a84b27e93476c236949860 /ospfd | |
parent | efb2c331e70eb3b913aeba3b62dfb54e68bd6de0 (diff) |
ospfd: justify ospf_default_originate_timer()
The function is implemented in ospf_lsa.c, move its "extern" declaration
to ospf_lsa.h for consistency.
Diffstat (limited to 'ospfd')
-rw-r--r-- | ospfd/ospf_lsa.h | 1 | ||||
-rw-r--r-- | ospfd/ospf_zebra.h | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/ospfd/ospf_lsa.h b/ospfd/ospf_lsa.h index e51f7e8e..6b2ba228 100644 --- a/ospfd/ospf_lsa.h +++ b/ospfd/ospf_lsa.h @@ -280,6 +280,7 @@ extern struct in_addr ospf_get_ip_from_ifp (struct ospf_interface *); extern struct ospf_lsa *ospf_external_lsa_originate (struct ospf *, struct external_info *); extern int ospf_external_lsa_originate_timer (struct thread *); +extern int ospf_default_originate_timer (struct thread *); extern struct ospf_lsa *ospf_lsa_lookup (struct ospf_area *, u_int32_t, struct in_addr, struct in_addr); extern struct ospf_lsa *ospf_lsa_lookup_by_id (struct ospf_area *, diff --git a/ospfd/ospf_zebra.h b/ospfd/ospf_zebra.h index 3efd8958..fbb34442 100644 --- a/ospfd/ospf_zebra.h +++ b/ospfd/ospf_zebra.h @@ -50,8 +50,6 @@ extern void ospf_zebra_delete (struct prefix_ipv4 *, struct ospf_route *); extern void ospf_zebra_add_discard (struct prefix_ipv4 *); extern void ospf_zebra_delete_discard (struct prefix_ipv4 *); -extern int ospf_default_originate_timer (struct thread *); - extern int ospf_redistribute_check (struct ospf *, struct external_info *, int *); extern int ospf_distribute_check_connected (struct ospf *, |