mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
const in get_cp_index
This commit is contained in:
parent
49ea10a74d
commit
cb90ed94f0
@ -1308,7 +1308,7 @@ flush:
|
|||||||
|
|
||||||
#ifndef USE_FASTFIND
|
#ifndef USE_FASTFIND
|
||||||
int
|
int
|
||||||
get_cp_index(unsigned char *name)
|
get_cp_index(const unsigned char *name)
|
||||||
{
|
{
|
||||||
int i, a;
|
int i, a;
|
||||||
int syscp = 0;
|
int syscp = 0;
|
||||||
@ -1389,7 +1389,7 @@ static struct fastfind_index ff_charsets_index
|
|||||||
/* It searchs for a charset named @name or one of its aliases and
|
/* It searchs for a charset named @name or one of its aliases and
|
||||||
* returns index for it or -1 if not found. */
|
* returns index for it or -1 if not found. */
|
||||||
int
|
int
|
||||||
get_cp_index(unsigned char *name)
|
get_cp_index(const unsigned char *name)
|
||||||
{
|
{
|
||||||
const struct codepage_desc *codepage;
|
const struct codepage_desc *codepage;
|
||||||
int syscp = 0;
|
int syscp = 0;
|
||||||
|
@ -107,7 +107,7 @@ unsigned char *convert_string(struct conv_table *convert_table,
|
|||||||
void (*callback)(void *data, unsigned char *buf, int buflen),
|
void (*callback)(void *data, unsigned char *buf, int buflen),
|
||||||
void *callback_data);
|
void *callback_data);
|
||||||
|
|
||||||
int get_cp_index(unsigned char *);
|
int get_cp_index(const unsigned char *);
|
||||||
unsigned char *get_cp_name(int);
|
unsigned char *get_cp_name(int);
|
||||||
unsigned char *get_cp_config_name(int);
|
unsigned char *get_cp_config_name(int);
|
||||||
unsigned char *get_cp_mime_name(int);
|
unsigned char *get_cp_mime_name(int);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user