diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-05-25 16:32:52 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2014-07-31 14:55:03 +0200 |
commit | b3d1779b96cfe9f7b0ae2a4e0cff9cf354770de0 (patch) | |
tree | bacc8b51d321dbed8fe25723f50301a3d2a86ea2 /tests | |
parent | bc8de146716ecb2435a02dcb9fdf2cc9701c0122 (diff) |
tests: Move the "pcu_direct" symbol into the stubs to be shared
Diffstat (limited to 'tests')
-rw-r--r-- | tests/agch/agch_test.c | 1 | ||||
-rw-r--r-- | tests/cipher/cipher_test.c | 1 | ||||
-rw-r--r-- | tests/paging/paging_test.c | 1 | ||||
-rw-r--r-- | tests/stubs.c | 1 |
4 files changed, 1 insertions, 3 deletions
diff --git a/tests/agch/agch_test.c b/tests/agch/agch_test.c index 6d00ed86..24fa847f 100644 --- a/tests/agch/agch_test.c +++ b/tests/agch/agch_test.c @@ -29,7 +29,6 @@ static struct gsm_bts *bts; static struct gsm_bts_role_bts *btsb; -int pcu_direct = 0; static const uint8_t static_ilv[] = { 0x08, 0x59, 0x51, 0x30, 0x99, 0x00, 0x00, 0x00, 0x19 diff --git a/tests/cipher/cipher_test.c b/tests/cipher/cipher_test.c index 2a2fa288..a175012f 100644 --- a/tests/cipher/cipher_test.c +++ b/tests/cipher/cipher_test.c @@ -29,7 +29,6 @@ static struct gsm_bts *bts; static struct gsm_bts_role_bts *btsb; -int pcu_direct = 0; #define ASSERT_TRUE(rc) \ if (!(rc)) { \ diff --git a/tests/paging/paging_test.c b/tests/paging/paging_test.c index a6f8cfaf..de839e47 100644 --- a/tests/paging/paging_test.c +++ b/tests/paging/paging_test.c @@ -29,7 +29,6 @@ static struct gsm_bts *bts; static struct gsm_bts_role_bts *btsb; -int pcu_direct = 0; static const uint8_t static_ilv[] = { 0x08, 0x59, 0x51, 0x30, 0x99, 0x00, 0x00, 0x00, 0x19 diff --git a/tests/stubs.c b/tests/stubs.c index 184ae724..959f445c 100644 --- a/tests/stubs.c +++ b/tests/stubs.c @@ -7,6 +7,7 @@ */ const uint8_t abis_mac[6] = { 0,1,2,3,4,5 }; const char *software_version = "0815"; +int pcu_direct = 0; int bts_model_chg_adm_state(struct gsm_bts *bts, struct gsm_abis_mo *mo, void *obj, uint8_t adm_state) |