diff --git a/lib/routemap.c b/lib/routemap.c index 4601da759d..b2c1929507 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 4ec4ce1a0a..e653a8a788 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);