diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-06-20 03:12:11 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-06-20 03:22:46 +0200 |
commit | 69f02720836c75a53f05e6acd4a5bad459db7258 (patch) | |
tree | f87438dc534efb9a31d31aa93e43da1ef22875dc /lib | |
parent | zebra: Add initial framework to keep track of changed route-maps (diff) | |
download | frr-69f02720836c75a53f05e6acd4a5bad459db7258.tar.xz frr-69f02720836c75a53f05e6acd4a5bad459db7258.zip |
lib: Don't expose a function that is never used
route_map_clear_updated is only used by routemap.c,
don't expose it too be used by the outside world.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/routemap.c | 2 | ||||
-rw-r--r-- | lib/routemap.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/lib/routemap.c b/lib/routemap.c index 4601da759..b2c192950 100644 --- a/lib/routemap.c +++ b/lib/routemap.c @@ -781,7 +781,7 @@ int route_map_mark_updated(const char *name) return (ret); } -int route_map_clear_updated(struct route_map *map) +static int route_map_clear_updated(struct route_map *map) { int ret = -1; diff --git a/lib/routemap.h b/lib/routemap.h index 4ec4ce1a0..e653a8a78 100644 --- a/lib/routemap.h +++ b/lib/routemap.h @@ -216,7 +216,6 @@ extern void route_map_add_hook(void (*func)(const char *)); extern void route_map_delete_hook(void (*func)(const char *)); extern void route_map_event_hook(void (*func)(route_map_event_t, const char *)); extern int route_map_mark_updated(const char *name); -extern int route_map_clear_updated(struct route_map *rmap); extern void route_map_walk_update_list(int (*update_fn)(char *name)); extern void route_map_upd8_dependency(route_map_event_t type, const char *arg, const char *rmap_name); |