summaryrefslogtreecommitdiff
path: root/tests/lib/test_heavy_wq.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/test_heavy_wq.c')
-rw-r--r--tests/lib/test_heavy_wq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/test_heavy_wq.c b/tests/lib/test_heavy_wq.c
index 00ddc836d7..442b8c8380 100644
--- a/tests/lib/test_heavy_wq.c
+++ b/tests/lib/test_heavy_wq.c
@@ -139,7 +139,7 @@ DEFUN (clear_foo,
return CMD_SUCCESS;
}
-static int heavy_wq_init()
+static int heavy_wq_init(void)
{
heavy_wq = work_queue_new(master, "heavy_work_queue");
@@ -152,7 +152,7 @@ static int heavy_wq_init()
return 0;
}
-void test_init()
+void test_init(void)
{
install_element(VIEW_NODE, &clear_foo_cmd);
heavy_wq_init();