* Code cleanup: Added const qualifier for variables and
function declarations where possible. No functional changes. Patch contributed by Andrew V Samoilov.
Этот коммит содержится в:
родитель
3da9abba54
Коммит
2ed35b596c
@ -165,12 +165,12 @@ char errbuf[255];
|
||||
*/
|
||||
#define CP_ASCII 0
|
||||
|
||||
char *
|
||||
const char *
|
||||
init_translation_table (int cpsource, int cpdisplay)
|
||||
{
|
||||
int i;
|
||||
iconv_t cd;
|
||||
char *cpsour, *cpdisp;
|
||||
const char *cpsour, *cpdisp;
|
||||
|
||||
/* Fill inpit <-> display tables */
|
||||
|
||||
|
@ -13,8 +13,8 @@ extern unsigned char conv_displ[256];
|
||||
extern unsigned char conv_input[256];
|
||||
|
||||
struct codepage_desc {
|
||||
const char *id;
|
||||
const char *name;
|
||||
char *id;
|
||||
char *name;
|
||||
};
|
||||
|
||||
extern struct codepage_desc *codepages;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user