From ef0d676741a623690c38f520ec35ca21d2d98cb0 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Fri, 11 Nov 2022 10:13:24 +0100 Subject: [PATCH] tests: fix old-style function definition Fix for: xua_test.c:575:6: error: old-style function definition [-Werror=old-style-definition] Change-Id: Iccc942f9f25fb091045d906eb8be658b54c58529 --- tests/vty/ss7_asp_vty_test.c | 2 +- tests/xua/xua_test.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/vty/ss7_asp_vty_test.c b/tests/vty/ss7_asp_vty_test.c index 4ee0f7f6..80ce3eca 100644 --- a/tests/vty/ss7_asp_vty_test.c +++ b/tests/vty/ss7_asp_vty_test.c @@ -41,7 +41,7 @@ void *root_ctx = NULL; const struct log_info log_info = { }; -static void print_help() +static void print_help(void) { printf( "options:\n" " -h --help this text\n" diff --git a/tests/xua/xua_test.c b/tests/xua/xua_test.c index abf2faef..6b4eef50 100644 --- a/tests/xua/xua_test.c +++ b/tests/xua/xua_test.c @@ -572,7 +572,7 @@ static void test_rkm(void) talloc_free(xua); } -void test_sccp_addr_cmp() +static void test_sccp_addr_cmp(void) { int ai; int bi;