diff options
author | Harald Welte <laforge@gnumonks.org> | 2014-08-24 09:50:10 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2014-08-24 12:47:12 +0200 |
commit | 1449c9f06f7f10319517f50fd64b5e2926284d44 (patch) | |
tree | b30c31bbe5b1f3641d5032dd7869234e19615c7e /openbsc/include/openbsc/gsm_data_shared.h | |
parent | dd588ae2ceb573faebef28bdab471251700796da (diff) |
move gsm_bts_num() to gsm_data_shared.[ch]
this way we can drop a copy of this function from osmo-bts.
Diffstat (limited to 'openbsc/include/openbsc/gsm_data_shared.h')
-rw-r--r-- | openbsc/include/openbsc/gsm_data_shared.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h index 3abb38b88..18db49d66 100644 --- a/openbsc/include/openbsc/gsm_data_shared.h +++ b/openbsc/include/openbsc/gsm_data_shared.h @@ -741,8 +741,9 @@ struct gsm_bts { struct gsm_bts *gsm_bts_alloc(void *talloc_ctx); -struct gsm_bts_trx *gsm_bts_trx_alloc(struct gsm_bts *bts); +struct gsm_bts *gsm_bts_num(struct gsm_network *net, int num); +struct gsm_bts_trx *gsm_bts_trx_alloc(struct gsm_bts *bts); struct gsm_bts_trx *gsm_bts_trx_num(const struct gsm_bts *bts, int num); |