From b3d1779b96cfe9f7b0ae2a4e0cff9cf354770de0 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 25 May 2014 16:32:52 +0200 Subject: [PATCH] tests: Move the "pcu_direct" symbol into the stubs to be shared --- tests/agch/agch_test.c | 1 - tests/cipher/cipher_test.c | 1 - tests/paging/paging_test.c | 1 - tests/stubs.c | 1 + 4 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/agch/agch_test.c b/tests/agch/agch_test.c index 6d00ed86d..24fa847fc 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 2a2fa288d..a175012f4 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 a6f8cfafc..de839e47d 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 184ae724d..959f445ce 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)