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>
This commit is contained in:
Donald Sharp 2018-06-19 21:12:11 -04:00
parent 75a2b29dd6
commit 69f0272083
2 changed files with 1 additions and 2 deletions

View File

@ -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;

View File

@ -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);