aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/abis_rsl.h
diff options
context:
space:
mode:
authorHarald Welte <laforge@netfilter.org>2009-12-09 19:18:32 +0100
committerHarald Welte <laforge@netfilter.org>2009-12-09 19:18:32 +0100
commit24766091d8e389b5e5f55124ef00e73c160ed5da (patch)
tree5a21e537e7edf25c7069c294f4f13a8b4e4e6c02 /openbsc/include/openbsc/abis_rsl.h
parent7bcb893eb78148250ed2b513e5e2a06fef7d47f3 (diff)
mark lchan2chan_nr() using a 'const' parameter
which fixes some compile warnings at some callers.
Diffstat (limited to 'openbsc/include/openbsc/abis_rsl.h')
-rw-r--r--openbsc/include/openbsc/abis_rsl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/abis_rsl.h b/openbsc/include/openbsc/abis_rsl.h
index a911be355..b76d0facc 100644
--- a/openbsc/include/openbsc/abis_rsl.h
+++ b/openbsc/include/openbsc/abis_rsl.h
@@ -547,7 +547,7 @@ unsigned int get_paging_group(u_int64_t imsi, unsigned int bs_cc_chans,
int n_pag_blocks);
unsigned int n_pag_blocks(int bs_ccch_sdcch_comb, unsigned int bs_ag_blks_res);
u_int64_t str_to_imsi(const char *imsi_str);
-u_int8_t lchan2chan_nr(struct gsm_lchan *lchan);
+u_int8_t lchan2chan_nr(const struct gsm_lchan *lchan);
int rsl_release_request(struct gsm_lchan *lchan, u_int8_t link_id);
/* to be provided by external code */