summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-07-16 14:48:24 +0200
committerHarald Welte <laforge@gnumonks.org>2011-07-16 14:49:35 +0200
commitebd4f4563c819e36544759aef85fc6836c244c88 (patch)
treebb1e4d9a6d9e469f87a851a7ff8a695951c49f2a
parentef8fc3bf28634d361adeec5490f807efb0ab3341 (diff)
{m2ua,sccp}_test: use (void) ANSI function declarations
-rw-r--r--tests/m2ua/m2ua_test.c4
-rw-r--r--tests/sccp/sccp_test.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/m2ua/m2ua_test.c b/tests/m2ua/m2ua_test.c
index 078a7c1..c6c36f8 100644
--- a/tests/m2ua/m2ua_test.c
+++ b/tests/m2ua/m2ua_test.c
@@ -44,7 +44,7 @@ static uint8_t data[] = {
0xaa, 0xaa, 0x00, 0x00
};
-static void test_asp_up()
+static void test_asp_up(void)
{
struct m2ua_msg_part *part;
struct m2ua_msg *m2u = m2ua_from_msg(ARRAY_SIZE(asp_up), asp_up);
@@ -73,7 +73,7 @@ static void test_asp_up()
msgb_free(msg);
}
-static void test_data()
+static void test_data(void)
{
struct m2ua_msg_part *part;
struct m2ua_msg *m2u = m2ua_from_msg(ARRAY_SIZE(data), data);
diff --git a/tests/sccp/sccp_test.c b/tests/sccp/sccp_test.c
index 43d374a..96a012b 100644
--- a/tests/sccp/sccp_test.c
+++ b/tests/sccp/sccp_test.c
@@ -948,7 +948,7 @@ static struct sccp_addr_tst sccp_addr_tst[] = {
},
};
-static void test_sccp_address()
+static void test_sccp_address(void)
{
int i, ret;
struct msgb *msg = msgb_alloc(128, "sccp-addr");
@@ -975,7 +975,7 @@ static const struct log_info_cat default_categories[] = {
},
};
-static int null_flt()
+static int null_flt(void)
{
return 1;
}
@@ -1005,4 +1005,4 @@ int main(int argc, char **argv)
return 0;
}
-void db_store_counter() {}
+void db_store_counter(void) {}