diff options
author | Oliver Smith <osmith@sysmocom.de> | 2022-11-11 10:13:24 +0100 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2022-11-11 10:13:24 +0100 |
commit | ef0d676741a623690c38f520ec35ca21d2d98cb0 (patch) | |
tree | 1636f214c27d33a3c460d42bd1cfdae9e8c05558 | |
parent | 2ce7b758e34997002c2ff07a2d6d42362a13801c (diff) |
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
-rw-r--r-- | tests/vty/ss7_asp_vty_test.c | 2 | ||||
-rw-r--r-- | 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 4ee0f7f..80ce3ec 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 abf2fae..6b4eef5 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; |