aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/bts.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-07-01 18:22:01 +0200
committerHarald Welte <laforge@gnumonks.org>2011-07-01 18:22:01 +0200
commitf15cef94f722c02b0fc401e40bcc4b7a22f9cbed (patch)
treecb9f65d2ce6144a61fdd9f4bb9153eb223248ca8 /src/common/bts.c
parent9fa0cce100d25585f5a1baff3353cd54a5a58d5f (diff)
fix various compiler warnings
Diffstat (limited to 'src/common/bts.c')
-rw-r--r--src/common/bts.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/common/bts.c b/src/common/bts.c
index e3463972..22008572 100644
--- a/src/common/bts.c
+++ b/src/common/bts.c
@@ -36,6 +36,7 @@
#include <osmo-bts/logging.h>
#include <osmo-bts/abis.h>
#include <osmo-bts/bts.h>
+#include <osmo-bts/bts_model.h>
#include <osmo-bts/rsl.h>
#include <osmo-bts/oml.h>
@@ -318,7 +319,6 @@ int bts_link_estab(struct gsm_bts *bts)
/* All other objects start off-line until the BTS Model code says otherwise */
for (i = 0; i < bts->num_trx; i++) {
struct gsm_bts_trx *trx = gsm_bts_trx_num(bts, i);
- struct ipabis_link *link = (struct ipabis_link *) trx->rsl_link;
oml_tx_state_changed(&trx->mo);
oml_tx_state_changed(&trx->bb_transc.mo);
@@ -353,7 +353,6 @@ int trx_link_estab(struct gsm_bts_trx *trx)
void bts_new_si(void *arg)
{
struct osmobts_trx *trx = arg;
- int i;
#if 0
if (osmo_timer_pending(&trx->si.timer))