]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
static declarations don't belong to includes. (And most of them were
authorMartin Mares <mj@ucw.cz>
Mon, 31 May 2004 20:53:22 +0000 (20:53 +0000)
committerMartin Mares <mj@ucw.cz>
Mon, 31 May 2004 20:53:22 +0000 (20:53 +0000)
redundant anyway.)

proto/ospf/ospf.c
proto/ospf/ospf.h

index 8229d096ae63f0942adea6aa148c9afb5ece464e..9626ab8b101d478095b6ad4a399a434b31e2f645 100644 (file)
@@ -70,6 +70,9 @@
 
 #include "ospf.h"
 
+static int ospf_rte_better(struct rte *new, struct rte *old);
+static int ospf_rte_same(struct rte *new, struct rte *old);
+
 static int
 ospf_start(struct proto *p)
 {
index 8a246bef6fe2206366d0a165d11cfda22db47812..a0dc878d9405ccdc41a701761a34a2bddaca409d 100644 (file)
@@ -434,13 +434,6 @@ struct ospf_iface_patt {
   list nbma_list;
 };
 
-static int ospf_start(struct proto *p);
-static void ospf_dump(struct proto *p);
-static struct proto *ospf_init(struct proto_config *c);
-static void ospf_preconfig(struct protocol *p, struct config *c);
-static void ospf_postconfig(struct proto_config *c);
-static int ospf_rte_better(struct rte *new, struct rte *old);
-static int ospf_rte_same(struct rte *new, struct rte *old);
 int ospf_import_control(struct proto *p, rte **new, ea_list **attrs,
   struct linpool *pool);
 struct ea_list *ospf_make_tmp_attrs(struct rte *rt, struct linpool *pool);