test case fixup: Add missing (void) empty argument list specification

Change-Id: Idf7b044424f59f3069adda90ed336d01dac0118b
This commit is contained in:
Harald Welte 2022-11-03 13:06:34 +01:00
parent ea7b53850b
commit ef4ce1f3f1
4 changed files with 6 additions and 6 deletions

View File

@ -136,7 +136,7 @@ static const struct test_abis_nm_ipaccess_cgi test_abis_nm_ipaccess_cgi_data[] =
},
};
static void test_abis_nm_ipaccess_cgi()
static void test_abis_nm_ipaccess_cgi(void)
{
int i;
bool pass = true;

View File

@ -405,7 +405,7 @@ static const struct test_gsm48_ra_id_by_bts test_gsm48_ra_id_by_bts_data[] = {
},
};
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 @@ static void test_gsm48_ra_id_by_bts()
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;

View File

@ -112,7 +112,7 @@ void fake_time_passes(time_t secs, suseconds_t usecs)
osmo_timers_update();
}
void fake_time_start()
void fake_time_start(void)
{
struct timespec *clock_override;
@ -1522,7 +1522,7 @@ DEFUN(wait, wait_cmd,
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);

View File

@ -126,7 +126,7 @@ static const struct log_info log_info = {
.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");