diff options
author | Harald Welte <laforge@gnumonks.org> | 2016-01-09 12:34:18 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-01-22 09:09:09 +0100 |
commit | 611ef23700619f0e8e3a7c0b87f4568c1c09a6c0 (patch) | |
tree | 56caf4c258a6cc155a3c08dd2a17dd3c40cabe80 /tests | |
parent | a0192b859ba9230c84381cbf065816760da62ba7 (diff) |
merge bts-specific main function into common/main.c:bts_main()
This removes a lot of copy+paste duplication between different BTS
models.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/handover/handover_test.c | 1 | ||||
-rw-r--r-- | tests/stubs.c | 2 | ||||
-rw-r--r-- | tests/sysmobts/sysmobts_test.c | 2 |
3 files changed, 0 insertions, 5 deletions
diff --git a/tests/handover/handover_test.c b/tests/handover/handover_test.c index 6d7e6d1e..8b299d06 100644 --- a/tests/handover/handover_test.c +++ b/tests/handover/handover_test.c @@ -40,7 +40,6 @@ static struct gsm_bts *bts; struct gsm_bts_trx *trx; int quit = 0; uint8_t abis_mac[6] = { 0, 1, 2, 3, 4, 5 }; -const int pcu_direct = 0; int modify_count = 0; static void expect_phys_info(struct lapdm_entity *le) diff --git a/tests/stubs.c b/tests/stubs.c index f1ba5cc7..17354b72 100644 --- a/tests/stubs.c +++ b/tests/stubs.c @@ -5,8 +5,6 @@ * If we ever want to re-define such a symbol we can make them weak * here. */ -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) { return 0; } diff --git a/tests/sysmobts/sysmobts_test.c b/tests/sysmobts/sysmobts_test.c index def7a819..b835dc27 100644 --- a/tests/sysmobts/sysmobts_test.c +++ b/tests/sysmobts/sysmobts_test.c @@ -29,8 +29,6 @@ #include <stdio.h> -int pcu_direct = 0; - static int direct_map[][3] = { { GSM_BAND_850, GsmL1_FreqBand_850, 128 }, { GSM_BAND_900, GsmL1_FreqBand_900, 1 }, |