aboutsummaryrefslogtreecommitdiffstats
path: root/tests/msc_vlr/msc_vlr_test_authen_reuse.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-03-02 01:05:38 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-03-02 03:22:16 +0100
commitf3d81f6ef5aea1a60700b45d79f14edb4adc8295 (patch)
tree0f83fc835b43dfb259f682c2c72c7e449ad66893 /tests/msc_vlr/msc_vlr_test_authen_reuse.c
parent87524ab620fa876d02cc70755558e35d4271eaf3 (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_authen_reuse.c')
-rw-r--r--tests/msc_vlr/msc_vlr_test_authen_reuse.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/msc_vlr/msc_vlr_test_authen_reuse.c b/tests/msc_vlr/msc_vlr_test_authen_reuse.c
index 103c90489..e78ab06ea 100644
--- a/tests/msc_vlr/msc_vlr_test_authen_reuse.c
+++ b/tests/msc_vlr/msc_vlr_test_authen_reuse.c
@@ -38,10 +38,10 @@
break; \
}
-void _test_auth_reuse(enum ran_type via_ran,
- int set_max_reuse_count,
- int loop_requests_without_hlr,
- bool final_request_with_hlr)
+static void _test_auth_reuse(enum ran_type via_ran,
+ int set_max_reuse_count,
+ int loop_requests_without_hlr,
+ bool final_request_with_hlr)
{
struct vlr_subscr *vsub;
const char *imsi = "901700000010650";
@@ -284,42 +284,42 @@ void _test_auth_reuse(enum ran_type via_ran,
clear_vlr();
}
-void test_auth_use_twice_geran()
+static void test_auth_use_twice_geran()
{
comment_start();
_test_auth_reuse(RAN_GERAN_A, 1, 1, true);
comment_end();
}
-void test_auth_use_twice_utran()
+static void test_auth_use_twice_utran()
{
comment_start();
_test_auth_reuse(RAN_UTRAN_IU, 1, 1, true);
comment_end();
}
-void test_auth_use_infinitely_geran()
+static void test_auth_use_infinitely_geran()
{
comment_start();
_test_auth_reuse(RAN_GERAN_A, -1, 3, false);
comment_end();
}
-void test_auth_use_infinitely_utran()
+static void test_auth_use_infinitely_utran()
{
comment_start();
_test_auth_reuse(RAN_UTRAN_IU, -1, 3, false);
comment_end();
}
-void test_no_auth_reuse_geran()
+static void test_no_auth_reuse_geran()
{
comment_start();
_test_auth_reuse(RAN_GERAN_A, 0, 0, true);
comment_end();
}
-void test_no_auth_reuse_utran()
+static void test_no_auth_reuse_utran()
{
comment_start();
_test_auth_reuse(RAN_UTRAN_IU, 0, 0, true);