diff options
author | Martin Mares <mj@ucw.cz> | 2004-05-31 22:53:22 +0200 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2004-05-31 22:53:22 +0200 |
commit | d83faf8dc441259183d87c6669e76e4addc61b21 (patch) | |
tree | d46cb42a78e239325343bcc239382e55b7237939 /proto | |
parent | 7deffd845a0f2bfe4cebbb01e0505314af32693a (diff) | |
download | bird-d83faf8dc441259183d87c6669e76e4addc61b21.tar bird-d83faf8dc441259183d87c6669e76e4addc61b21.zip |
static declarations don't belong to includes. (And most of them were
redundant anyway.)
Diffstat (limited to 'proto')
-rw-r--r-- | proto/ospf/ospf.c | 3 | ||||
-rw-r--r-- | proto/ospf/ospf.h | 7 |
2 files changed, 3 insertions, 7 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c index 8229d09..9626ab8 100644 --- a/proto/ospf/ospf.c +++ b/proto/ospf/ospf.c @@ -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) { diff --git a/proto/ospf/ospf.h b/proto/ospf/ospf.h index 8a246be..a0dc878 100644 --- a/proto/ospf/ospf.h +++ b/proto/ospf/ospf.h @@ -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); |