summaryrefslogtreecommitdiff
path: root/tests/lib/test_heavy.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/lib/test_heavy.c
parent262d4dda2aa009f200370a4c4635899ceb85ab90 (diff)
Treewide: use ANSI function definitions
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Diffstat (limited to 'tests/lib/test_heavy.c')
-rw-r--r--tests/lib/test_heavy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/test_heavy.c b/tests/lib/test_heavy.c
index e2a0a2d49a..afc7a08e66 100644
--- a/tests/lib/test_heavy.c
+++ b/tests/lib/test_heavy.c
@@ -92,12 +92,12 @@ DEFUN (clear_foo,
return CMD_SUCCESS;
}
-static void slow_vty_init()
+static void slow_vty_init(void)
{
install_element(VIEW_NODE, &clear_foo_cmd);
}
-void test_init()
+void test_init(void)
{
slow_vty_init();
}