This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bts/+/20286 ) Change subject: bts: cosmetic: make param 'net' of gsm_bts_num() const ...................................................................... bts: cosmetic: make param 'net' of gsm_bts_num() const Change-Id: I378fea4aefb2cc4253cdd99ebc9c4f01b21faf95 --- M include/osmo-bts/bts.h M src/common/bts.c 2 files changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/86/20286/1 diff --git a/include/osmo-bts/bts.h b/include/osmo-bts/bts.h index da321b0..7d3f8bf 100644 --- a/include/osmo-bts/bts.h +++ b/include/osmo-bts/bts.h @@ -319,7 +319,7 @@ #define GSM_BTS_SI(bts, i) (void *)((bts)->si_buf[i][0]) struct gsm_bts *gsm_bts_alloc(void *talloc_ctx, uint8_t bts_num); -struct gsm_bts *gsm_bts_num(struct gsm_network *net, int num); +struct gsm_bts *gsm_bts_num(const struct gsm_network *net, int num); int bts_init(struct gsm_bts *bts); void bts_shutdown(struct gsm_bts *bts, const char *reason); diff --git a/src/common/bts.c b/src/common/bts.c index 983f61d..c900428 100644 --- a/src/common/bts.c +++ b/src/common/bts.c @@ -255,7 +255,7 @@ return bts; } -struct gsm_bts *gsm_bts_num(struct gsm_network *net, int num) +struct gsm_bts *gsm_bts_num(const struct gsm_network *net, int num) { struct gsm_bts *bts; -- To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/20286 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bts Gerrit-Branch: master Gerrit-Change-Id: I378fea4aefb2cc4253cdd99ebc9c4f01b21faf95 Gerrit-Change-Number: 20286 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200925/5610975f/attachment.htm>