summaryrefslogtreecommitdiff
path: root/tests/helpers/c/main.c
diff options
context:
space:
mode:
authorRuben Kerkhof <ruben@rubenkerkhof.com>2019-01-24 10:12:36 +0100
committerRuben Kerkhof <ruben@rubenkerkhof.com>2019-01-24 11:21:59 +0100
commit4d762f2607f07b55f464bae4ec0eb7fdf7c656a9 (patch)
treec8e9c8056c9fec104ec152ccf254c282fa6a90c6 /tests/helpers/c/main.c
parent262d4dda2aa009f200370a4c4635899ceb85ab90 (diff)
Treewide: use ANSI function definitions
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Diffstat (limited to 'tests/helpers/c/main.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 768cf296ad..11db2dabc3 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);
}