summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-03-13 15:10:55 +0100
committerHarald Welte <laforge@gnumonks.org>2013-03-13 15:16:47 +0100
commitca69388be813c614ff706b6b6d91b25a14a5a973 (patch)
tree95e77354515181e37eb0a6de889efc7ddd9142fd /include
parent6d2d4d688ef7e32550f4dbe7813c9055c4395aaf (diff)
gsm_septets2octets(): Input parameter should be const
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/gsm/gsm_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/gsm/gsm_utils.h b/include/osmocom/gsm/gsm_utils.h
index 17678981..cdbac876 100644
--- a/include/osmocom/gsm/gsm_utils.h
+++ b/include/osmocom/gsm/gsm_utils.h
@@ -60,7 +60,7 @@ int gsm_7bit_decode(char *decoded, const uint8_t *user_data, uint8_t length);
int gsm_7bit_decode_hdr(char *decoded, const uint8_t *user_data, uint8_t length, uint8_t ud_hdr_ind);
int gsm_7bit_encode(uint8_t *result, const char *data);
-int gsm_septets2octets(uint8_t *result, uint8_t *rdata, uint8_t septet_len, uint8_t padding);
+int gsm_septets2octets(uint8_t *result, const uint8_t *rdata, uint8_t septet_len, uint8_t padding);
int gsm_septet_encode(uint8_t *result, const char *data);
uint8_t gsm_get_octet_len(const uint8_t sept_len);