summaryrefslogtreecommitdiffstats
path: root/tests/helpers/c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/helpers/c')
-rw-r--r--tests/helpers/c/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/helpers/c/main.c b/tests/helpers/c/main.c
index 768cf296a..11db2dabc 100644
--- a/tests/helpers/c/main.c
+++ b/tests/helpers/c/main.c
@@ -26,7 +26,7 @@
#include "memory.h"
#include "memory_vty.h"
-extern void test_init();
+extern void test_init(void);
struct thread_master *master;
@@ -56,12 +56,12 @@ static int test_timer(struct thread *thread)
return 0;
}
-static void test_timer_init()
+static void test_timer_init(void)
{
thread_add_timer(master, test_timer, &timer_count, 10, NULL);
}
-static void test_vty_init()
+static void test_vty_init(void)
{
install_element(VIEW_NODE, &daemon_exit_cmd);
}