summaryrefslogtreecommitdiff
path: root/lib/routemap.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/routemap.c')
-rw-r--r--lib/routemap.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/routemap.c b/lib/routemap.c
index 53df69dfcd..733e61c99b 100644
--- a/lib/routemap.c
+++ b/lib/routemap.c
@@ -323,8 +323,7 @@ route_map_get (const char *name)
}
void
-route_map_walk_update_list (void *arg,
- int (*route_map_update_fn) (void *arg, char *name))
+route_map_walk_update_list (int (*route_map_update_fn) (char *name))
{
struct route_map *node;
struct route_map *nnode = NULL;
@@ -334,7 +333,7 @@ route_map_walk_update_list (void *arg,
if (node->to_be_processed)
{
/* DD: Should we add any thread yield code here */
- route_map_update_fn(arg, node->name);
+ route_map_update_fn(node->name);
nnode = node->next;
route_map_clear_updated(node);
}