mirror of https://gerrit.osmocom.org/libosmocore
gsm48_ie: gsm48_decode_freq_list(): make 'cd' argument const
Change-Id: Ide9110b984d3302aec6b439c563eb10e2dcdec9e
This commit is contained in:
parent
a42f4a51c0
commit
179dec096f
|
@ -117,8 +117,9 @@ struct gsm_sysinfo_freq {
|
|||
};
|
||||
|
||||
/* decode "Cell Channel Description" (10.5.2.1b) and other frequency lists */
|
||||
int gsm48_decode_freq_list(struct gsm_sysinfo_freq *f, uint8_t *cd,
|
||||
uint8_t len, uint8_t mask, uint8_t frqt);
|
||||
int gsm48_decode_freq_list(struct gsm_sysinfo_freq *f,
|
||||
const uint8_t *cd, uint8_t len,
|
||||
uint8_t mask, uint8_t frqt);
|
||||
|
||||
/* decode "CSN.1 encoded Classmark 3" (10.5.1.7) */
|
||||
int gsm48_decode_classmark3(struct gsm48_classmark3 *classmark3_out,
|
||||
|
|
|
@ -880,8 +880,9 @@ static int32_t smod(int32_t n, int32_t m)
|
|||
* \param[in] cd Cell Channel Description IE
|
||||
* \param[in] len Length of \a cd in bytes
|
||||
* \returns 0 on success; negative on error */
|
||||
int gsm48_decode_freq_list(struct gsm_sysinfo_freq *f, uint8_t *cd,
|
||||
uint8_t len, uint8_t mask, uint8_t frqt)
|
||||
int gsm48_decode_freq_list(struct gsm_sysinfo_freq *f,
|
||||
const uint8_t *cd, uint8_t len,
|
||||
uint8_t mask, uint8_t frqt)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
|
Loading…
Reference in New Issue