diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-02 01:05:38 +0100 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-02 03:22:16 +0100 |
commit | f3d81f6ef5aea1a60700b45d79f14edb4adc8295 (patch) | |
tree | 0f83fc835b43dfb259f682c2c72c7e449ad66893 /tests/msc_vlr/msc_vlr_test_umts_authen.c | |
parent | 87524ab620fa876d02cc70755558e35d4271eaf3 (diff) |
msc_vlr_tests: make all test functions static
All functions in the individual msc_vlr_test_*.c files should be static; hence
we would be warned if one of them were unused (forgotten to add to the tests
array).
Change-Id: Ia169c6a1443a48879ab4777e09c2040c48810bf6
Diffstat (limited to 'tests/msc_vlr/msc_vlr_test_umts_authen.c')
-rw-r--r-- | tests/msc_vlr/msc_vlr_test_umts_authen.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/msc_vlr/msc_vlr_test_umts_authen.c b/tests/msc_vlr/msc_vlr_test_umts_authen.c index 1175bf875..3b1f6dd32 100644 --- a/tests/msc_vlr/msc_vlr_test_umts_authen.c +++ b/tests/msc_vlr/msc_vlr_test_umts_authen.c @@ -36,7 +36,7 @@ break; \ } -void _test_umts_authen(enum ran_type via_ran) +static void _test_umts_authen(enum ran_type via_ran) { struct vlr_subscr *vsub; const char *imsi = "901700000010650"; @@ -322,14 +322,14 @@ void _test_umts_authen(enum ran_type via_ran) clear_vlr(); } -void test_umts_authen_geran() +static void test_umts_authen_geran() { comment_start(); _test_umts_authen(RAN_GERAN_A); comment_end(); } -void test_umts_authen_utran() +static void test_umts_authen_utran() { comment_start(); _test_umts_authen(RAN_UTRAN_IU); @@ -346,7 +346,7 @@ extern int milenage_f1(const u8 *opc, const u8 *k, const u8 *_rand, const u8 *sqn, const u8 *amf, u8 *mac_a, u8 *mac_s); #endif -void _test_umts_authen_resync(enum ran_type via_ran) +static void _test_umts_authen_resync(enum ran_type via_ran) { struct vlr_subscr *vsub; const char *imsi = "901700000010650"; @@ -558,14 +558,14 @@ void _test_umts_authen_resync(enum ran_type via_ran) clear_vlr(); } -void test_umts_authen_resync_geran() +static void test_umts_authen_resync_geran() { comment_start(); _test_umts_authen_resync(RAN_GERAN_A); comment_end(); } -void test_umts_authen_resync_utran() +static void test_umts_authen_resync_utran() { comment_start(); _test_umts_authen_resync(RAN_UTRAN_IU); |