osmith has submitted this change. ( 
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(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, approved



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;

--
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/30078
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: Iccc942f9f25fb091045d906eb8be658b54c58529
Gerrit-Change-Number: 30078
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to