diff options
author | Harald Welte <laforge@gnumonks.org> | 2013-03-13 15:10:55 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2013-03-13 15:16:47 +0100 |
commit | ca69388be813c614ff706b6b6d91b25a14a5a973 (patch) | |
tree | 95e77354515181e37eb0a6de889efc7ddd9142fd /include/osmocom/gsm/gsm_utils.h | |
parent | 6d2d4d688ef7e32550f4dbe7813c9055c4395aaf (diff) |
gsm_septets2octets(): Input parameter should be const
Diffstat (limited to 'include/osmocom/gsm/gsm_utils.h')
-rw-r--r-- | include/osmocom/gsm/gsm_utils.h | 2 |
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); |