laforge submitted this change.
test case fixup: Add missing (void) empty argument list specification
Change-Id: Idf7b044424f59f3069adda90ed336d01dac0118b
---
M tests/abis/abis_test.c
M tests/gsm0408/gsm0408_test.c
M tests/handover/handover_test.c
M tests/subscr/bsc_subscr_test.c
4 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/tests/abis/abis_test.c b/tests/abis/abis_test.c
index a48154b..10642fa 100644
--- a/tests/abis/abis_test.c
+++ b/tests/abis/abis_test.c
@@ -136,7 +136,7 @@
},
};
-static void test_abis_nm_ipaccess_cgi()
+static void test_abis_nm_ipaccess_cgi(void)
{
int i;
bool pass = true;
diff --git a/tests/gsm0408/gsm0408_test.c b/tests/gsm0408/gsm0408_test.c
index 999ee80..a39f8c2 100644
--- a/tests/gsm0408/gsm0408_test.c
+++ b/tests/gsm0408/gsm0408_test.c
@@ -405,7 +405,7 @@
},
};
-static void test_gsm48_ra_id_by_bts()
+static void test_gsm48_ra_id_by_bts(void)
{
int i;
bool pass = true;
@@ -440,7 +440,7 @@
OSMO_ASSERT(pass);
}
-static void test_gsm48_multirate_config()
+static void test_gsm48_multirate_config(void)
{
struct gsm48_multi_rate_conf *gsm48_ie;
struct amr_multirate_conf mr;
diff --git a/tests/handover/handover_test.c b/tests/handover/handover_test.c
index b0b5863..174e9e1 100644
--- a/tests/handover/handover_test.c
+++ b/tests/handover/handover_test.c
@@ -112,7 +112,7 @@
osmo_timers_update();
}
-void fake_time_start()
+void fake_time_start(void)
{
struct timespec *clock_override;
@@ -1522,7 +1522,7 @@
return CMD_SUCCESS;
}
-static void ho_test_vty_init()
+static void ho_test_vty_init(void)
{
install_element(CONFIG_NODE, &create_n_bts_cmd);
install_element(CONFIG_NODE, &create_bts_cmd);
diff --git a/tests/subscr/bsc_subscr_test.c b/tests/subscr/bsc_subscr_test.c
index 2a0e1eb..37a6164 100644
--- a/tests/subscr/bsc_subscr_test.c
+++ b/tests/subscr/bsc_subscr_test.c
@@ -126,7 +126,7 @@
.num_cat = ARRAY_SIZE(log_categories),
};
-int main()
+int main(int argc, char **argv)
{
void *ctx = talloc_named_const(NULL, 0, "bsc_subscr_test");
printf("Testing BSC subscriber core code.\n");
To view, visit change 32651. To unsubscribe, or for help writing mail filters, visit settings.