From: Denis Ovsienko Date: Mon, 3 Oct 2011 10:08:01 +0000 (+0400) Subject: ospfd: justify ospf_default_originate_timer() X-Git-Tag: frr-2.0-rc1~1925 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=8216f53b73d8eb375615ad4395deace11d1e22d6;p=mirror%2Ffrr.git ospfd: justify ospf_default_originate_timer() The function is implemented in ospf_lsa.c, move its "extern" declaration to ospf_lsa.h for consistency. --- diff --git a/ospfd/ospf_lsa.h b/ospfd/ospf_lsa.h index bf3b083c47..f364840f6b 100644 --- a/ospfd/ospf_lsa.h +++ b/ospfd/ospf_lsa.h @@ -275,6 +275,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 3efd8958db..fbb3444242 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 *,