summaryrefslogtreecommitdiff
path: root/nest/rt-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'nest/rt-table.c')
-rw-r--r--nest/rt-table.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/rt-table.c b/nest/rt-table.c
index 0f423f8b..353473d1 100644
--- a/nest/rt-table.c
+++ b/nest/rt-table.c
@@ -395,7 +395,7 @@ rt_dump_all(void)
rt_dump(t);
}
-static void
+static int
rt_gc(void *unused)
{
rtable *t;
@@ -404,6 +404,7 @@ rt_gc(void *unused)
rt_prune_all();
rt_last_gc = now;
rt_gc_counter = 0;
+ return 0;
}
void