osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/30078 )
Change subject: tests: fix old-style function definition ......................................................................
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 --- M tests/vty/ss7_asp_vty_test.c M tests/xua/xua_test.c 2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/78/30078/1
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 @@ 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 @@ talloc_free(xua); }
-void test_sccp_addr_cmp() +static void test_sccp_addr_cmp(void) { int ai; int bi;