]> git.puffer.fish Git - mirror/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)
committerDenis Ovsienko <infrastation@yandex.ru>
Mon, 17 Oct 2011 14:36:14 +0000 (18:36 +0400)
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 e51f7e8e63ad82a77c7d7f618060a850a19e173a..6b2ba2289cad6c2ace3e1f38cce7b61727197cd1 100644 (file)
@@ -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 *,
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 *,