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/.
laforge gerrit-no-reply at lists.osmocom.orglaforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/18606 ) Change subject: gsm_data: cosmetic: mark argument of is_*_bts() as const ...................................................................... gsm_data: cosmetic: mark argument of is_*_bts() as const Change-Id: Ifa084e34cbea006e09c83a530e1434a22895e9aa --- M include/osmocom/bsc/gsm_data.h 1 file changed, 6 insertions(+), 6 deletions(-) Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h index 42eb583..1e7e88f 100644 --- a/include/osmocom/bsc/gsm_data.h +++ b/include/osmocom/bsc/gsm_data.h @@ -1727,7 +1727,7 @@ extern void *tall_bsc_ctx; /* this actually refers to the IPA transport, not the BTS model */ -static inline int is_ipaccess_bts(struct gsm_bts *bts) +static inline int is_ipaccess_bts(const struct gsm_bts *bts) { switch (bts->type) { case GSM_BTS_TYPE_NANOBTS: @@ -1739,7 +1739,7 @@ return 0; } -static inline int is_sysmobts_v2(struct gsm_bts *bts) +static inline int is_sysmobts_v2(const struct gsm_bts *bts) { switch (bts->type) { case GSM_BTS_TYPE_OSMOBTS: @@ -1750,7 +1750,7 @@ return 0; } -static inline int is_siemens_bts(struct gsm_bts *bts) +static inline int is_siemens_bts(const struct gsm_bts *bts) { switch (bts->type) { case GSM_BTS_TYPE_BS11: @@ -1762,7 +1762,7 @@ return 0; } -static inline int is_nokia_bts(struct gsm_bts *bts) +static inline int is_nokia_bts(const struct gsm_bts *bts) { switch (bts->type) { case GSM_BTS_TYPE_NOKIA_SITE: @@ -1774,7 +1774,7 @@ return 0; } -static inline int is_ericsson_bts(struct gsm_bts *bts) +static inline int is_ericsson_bts(const struct gsm_bts *bts) { switch (bts->type) { case GSM_BTS_TYPE_RBS2000: @@ -1786,7 +1786,7 @@ return 0; } -static inline int is_e1_bts(struct gsm_bts *bts) +static inline int is_e1_bts(const struct gsm_bts *bts) { switch (bts->type) { case GSM_BTS_TYPE_BS11: -- To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/18606 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-bsc Gerrit-Branch: master Gerrit-Change-Id: Ifa084e34cbea006e09c83a530e1434a22895e9aa Gerrit-Change-Number: 18606 Gerrit-PatchSet: 1 Gerrit-Owner: Vadim Yanitskiy <vyanitskiy at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge at osmocom.org> Gerrit-MessageType: merged -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200531/7c666110/attachment.htm>