aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gsm_04_08.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-10-22 15:42:19 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-10-22 15:42:19 +0200
commit8b77a34131243986fd1f0d4b9a637c652e6109d8 (patch)
tree349949477cf997a4eaa2e04d4123a0110270d54b /openbsc/include/openbsc/gsm_04_08.h
parentdc1e1058f3407dcda6c2cf42deabb863e2a80702 (diff)
[rrlp] Fix compiler warnings
The apdu is static const u_int8_t. Change the signature to have a const in there to make the compiler happy, include chan_alloc.h for lchan methods.
Diffstat (limited to 'openbsc/include/openbsc/gsm_04_08.h')
-rw-r--r--openbsc/include/openbsc/gsm_04_08.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/gsm_04_08.h b/openbsc/include/openbsc/gsm_04_08.h
index 485e240cd..8c944e6ac 100644
--- a/openbsc/include/openbsc/gsm_04_08.h
+++ b/openbsc/include/openbsc/gsm_04_08.h
@@ -726,7 +726,7 @@ int gsm48_mi_to_string(char *string, const int str_len, const u_int8_t *mi, cons
int gsm48_send_rr_release(struct gsm_lchan *lchan);
int gsm48_send_rr_ciph_mode(struct gsm_lchan *lchan, int want_imeisv);
int gsm48_send_rr_app_info(struct gsm_lchan *lchan, u_int8_t apdu_id,
- u_int8_t apdu_len, u_int8_t *apdu);
+ u_int8_t apdu_len, const u_int8_t *apdu);
int bsc_upqueue(struct gsm_network *net);