From 2cfd000da32464f62d568f96bac38dedfa4dac1d Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 12 Mar 2019 18:53:26 +0100 Subject: Move LCLS references from gsm_data to osmo_bsc_lcls This commit aims at better ordering of content in order to get rid of sigtran stuff in gsm_data. This way we can avoid requiring libosmo-sigtran when building ipaccess utils. Change-Id: I8941f059d6e4eb21a971d48d2b66c29ec3355a6d --- src/osmo-bsc/gsm_data.c | 8 +------- src/osmo-bsc/osmo_bsc_lcls.c | 6 ++++++ 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/osmo-bsc') diff --git a/src/osmo-bsc/gsm_data.c b/src/osmo-bsc/gsm_data.c index 049257116..0198fcfe1 100644 --- a/src/osmo-bsc/gsm_data.c +++ b/src/osmo-bsc/gsm_data.c @@ -37,6 +37,7 @@ #include #include +#include #include #include #include @@ -46,13 +47,6 @@ void *tall_bsc_ctx = NULL; -const struct value_string bsc_lcls_mode_names[] = { - { BSC_LCLS_MODE_DISABLED, "disabled" }, - { BSC_LCLS_MODE_MGW_LOOP, "mgw-loop" }, - { BSC_LCLS_MODE_BTS_LOOP, "bts-loop" }, - { 0, NULL } -}; - static LLIST_HEAD(bts_models); void set_ts_e1link(struct gsm_bts_trx_ts *ts, uint8_t e1_nr, diff --git a/src/osmo-bsc/osmo_bsc_lcls.c b/src/osmo-bsc/osmo_bsc_lcls.c index f7b84e114..c1f62dc78 100644 --- a/src/osmo-bsc/osmo_bsc_lcls.c +++ b/src/osmo-bsc/osmo_bsc_lcls.c @@ -42,6 +42,12 @@ struct value_string lcls_event_names[] = { { 0, NULL } }; +const struct value_string bsc_lcls_mode_names[] = { + { BSC_LCLS_MODE_DISABLED, "disabled" }, + { BSC_LCLS_MODE_MGW_LOOP, "mgw-loop" }, + { BSC_LCLS_MODE_BTS_LOOP, "bts-loop" }, + { 0, NULL } +}; /*********************************************************************** * Utility functions -- cgit v1.2.3