diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-05-30 23:43:59 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2020-05-31 02:14:28 +0700 |
commit | c1b141c8c360748e30536097cb4f17ef95e32791 (patch) | |
tree | 8b0012950c748b1714aaec3c9811d62620b4ffbc /include/osmocom | |
parent | 8519d50081cc151009db41d20ed018d0434fb6ab (diff) |
gsm_data: cosmetic: mark argument of is_*_bts() as const
Change-Id: Ifa084e34cbea006e09c83a530e1434a22895e9aa
Diffstat (limited to 'include/osmocom')
-rw-r--r-- | include/osmocom/bsc/gsm_data.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/osmocom/bsc/gsm_data.h b/include/osmocom/bsc/gsm_data.h index 42eb583e7..1e7e88fe5 100644 --- a/include/osmocom/bsc/gsm_data.h +++ b/include/osmocom/bsc/gsm_data.h @@ -1727,7 +1727,7 @@ struct gsm_bts *gsm_bts_by_lac(struct gsm_network *net, unsigned int lac, 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 @@ static inline int is_ipaccess_bts(struct gsm_bts *bts) 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 @@ static inline int is_sysmobts_v2(struct gsm_bts *bts) 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 @@ static inline int is_siemens_bts(struct gsm_bts *bts) 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 @@ static inline int is_nokia_bts(struct gsm_bts *bts) 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 @@ static inline int is_ericsson_bts(struct gsm_bts *bts) 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: |