summaryrefslogtreecommitdiff
path: root/tests/helpers/c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/helpers/c')
-rw-r--r--tests/helpers/c/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/helpers/c/main.c b/tests/helpers/c/main.c
index 64ecab9132..ca6b18ecda 100644
--- a/tests/helpers/c/main.c
+++ b/tests/helpers/c/main.c
@@ -47,13 +47,12 @@ DEFUN (daemon_exit,
}
static int timer_count;
-static int test_timer(struct thread *thread)
+static void test_timer(struct thread *thread)
{
int *count = THREAD_ARG(thread);
printf("run %d of timer\n", (*count)++);
thread_add_timer(master, test_timer, count, 5, NULL);
- return 0;
}
static void test_timer_init(void)