Fix: Make const correct

This commit is contained in:
Denis Kenzior 2009-10-02 19:25:44 -05:00
parent 7e82686e70
commit 6ef9a4b2dd
2 changed files with 4 additions and 4 deletions

View File

@ -574,7 +574,7 @@ struct sim_ef_info *sim_ef_db_lookup(unsigned short id)
return result; return result;
} }
gboolean sim_parse_3g_get_response(unsigned char *data, int len, gboolean sim_parse_3g_get_response(const unsigned char *data, int len,
int *file_len, int *record_len, int *file_len, int *record_len,
int *structure, unsigned char *access, int *structure, unsigned char *access,
unsigned short *efid) unsigned short *efid)
@ -683,7 +683,7 @@ gboolean sim_parse_3g_get_response(unsigned char *data, int len,
return TRUE; return TRUE;
} }
gboolean sim_parse_2g_get_response(unsigned char *response, int len, gboolean sim_parse_2g_get_response(const unsigned char *response, int len,
int *file_len, int *record_len, int *file_len, int *record_len,
int *structure, unsigned char *access) int *structure, unsigned char *access)
{ {

View File

@ -107,11 +107,11 @@ void sim_adn_build(unsigned char *data, int length,
struct sim_ef_info *sim_ef_db_lookup(unsigned short efid); struct sim_ef_info *sim_ef_db_lookup(unsigned short efid);
gboolean sim_parse_3g_get_response(unsigned char *data, int len, gboolean sim_parse_3g_get_response(const unsigned char *data, int len,
int *file_len, int *record_len, int *file_len, int *record_len,
int *structure, unsigned char *access, int *structure, unsigned char *access,
unsigned short *efid); unsigned short *efid);
gboolean sim_parse_2g_get_response(unsigned char *response, int len, gboolean sim_parse_2g_get_response(const unsigned char *response, int len,
int *file_len, int *record_len, int *file_len, int *record_len,
int *structure, unsigned char *access); int *structure, unsigned char *access);