]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospfd: justify ospf_default_originate_timer()
authorDenis Ovsienko <infrastation@yandex.ru>
Mon, 3 Oct 2011 10:08:01 +0000 (14:08 +0400)
committerPaul Jakma <paul@quagga.net>
Sun, 8 Jan 2012 11:46:11 +0000 (11:46 +0000)
The function is implemented in ospf_lsa.c, move its "extern" declaration
to ospf_lsa.h for consistency.

ospfd/ospf_lsa.h
ospfd/ospf_zebra.h

index bf3b083c4755b14a4d31d36c410943e838dc4639..f364840f6b5476e07012ea5cc37e4e78724e22c7 100644 (file)
@@ -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 *,
index 3efd8958dbbe15efa2f43b5d0fc9adf723db820f..fbb34442427594e71c1713405dbd65be9c537703 100644 (file)
@@ -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 *,