summaryrefslogtreecommitdiff
path: root/ospfd/ospf_asbr.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-08-21 08:40:51 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-08-21 08:40:51 -0400
commit19c0412aadd7ee454c9cfb4beffad69232c27330 (patch)
treecb72177857ea5c669182e4a420e987ac0d166dfb /ospfd/ospf_asbr.h
parentf8a523363e8a948aa0a55477826b8fae1d43cd5a (diff)
ospfd: Remove unused function
The ospf_external_route_lookup function was not being used so let's just remove it. Unfortunately the removal was not quite so simple as that ospf_asbr.h was being used to generate a reference for the `struct ospf_route` data structure, so we need to fix up the compile by fixing up header inclusions so that ospf_route.h is actually included Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_asbr.h')
-rw-r--r--ospfd/ospf_asbr.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ospfd/ospf_asbr.h b/ospfd/ospf_asbr.h
index 370c6787b4..ac7bd68b5f 100644
--- a/ospfd/ospf_asbr.h
+++ b/ospfd/ospf_asbr.h
@@ -68,8 +68,6 @@ extern void ospf_external_info_delete(struct ospf *, uint8_t, unsigned short,
extern struct external_info *ospf_external_info_lookup(struct ospf *, uint8_t,
unsigned short,
struct prefix_ipv4 *);
-extern struct ospf_route *ospf_external_route_lookup(struct ospf *,
- struct prefix_ipv4 *);
extern void ospf_asbr_status_update(struct ospf *, uint8_t);
extern void ospf_redistribute_withdraw(struct ospf *, uint8_t, unsigned short);