summaryrefslogtreecommitdiffstats
path: root/tests/zebra
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-09-09 12:33:12 +0200
committerDonald Sharp <sharpd@nvidia.com>2021-09-09 12:33:12 +0200
commit9b8a1ad49eb104efccc174a8155e31b81973c052 (patch)
treecc51d36b6064349a84ffff911bd991aaf2d647f3 /tests/zebra
parentMerge pull request #9581 from idryzhov/rpki-source-move (diff)
downloadfrr-9b8a1ad49eb104efccc174a8155e31b81973c052.tar.xz
frr-9b8a1ad49eb104efccc174a8155e31b81973c052.zip
tests: We follow strict prototyping rules
Compiling with -Wstrict-prototypes is causing some complaints during compiling. Make things happy. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/zebra')
-rw-r--r--tests/zebra/test_lm_plugin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/zebra/test_lm_plugin.c b/tests/zebra/test_lm_plugin.c
index 4a9344fee..ecfb08579 100644
--- a/tests/zebra/test_lm_plugin.c
+++ b/tests/zebra/test_lm_plugin.c
@@ -77,7 +77,7 @@ static int lm_release_chunk_pi(struct zserv *client, uint32_t start,
/* use external allocations */
-static void lp_plugin_init()
+static void lp_plugin_init(void)
{
/* register our own hooks */
hook_register(lm_client_connect, test_client_connect);
@@ -86,7 +86,7 @@ static void lp_plugin_init()
hook_register(lm_release_chunk, lm_release_chunk_pi);
}
-static void lp_plugin_cleanup()
+static void lp_plugin_cleanup(void)
{
/* register our own hooks */
hook_unregister(lm_client_connect, test_client_connect);
@@ -98,7 +98,7 @@ static void lp_plugin_cleanup()
/* tests */
-static void test_lp_plugin()
+static void test_lp_plugin(void)
{
struct label_manager_chunk *lmc;