1
1

* Code cleanup: Added const qualifier for variables and

function declarations where possible. No functional
	changes. Patch contributed by Andrew V Samoilov.
Этот коммит содержится в:
Roland Illig 2004-08-30 10:38:00 +00:00
родитель 3da9abba54
Коммит 2ed35b596c
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -165,12 +165,12 @@ char errbuf[255];
*/ */
#define CP_ASCII 0 #define CP_ASCII 0
char * const char *
init_translation_table (int cpsource, int cpdisplay) init_translation_table (int cpsource, int cpdisplay)
{ {
int i; int i;
iconv_t cd; iconv_t cd;
char *cpsour, *cpdisp; const char *cpsour, *cpdisp;
/* Fill inpit <-> display tables */ /* Fill inpit <-> display tables */

Просмотреть файл

@ -13,8 +13,8 @@ extern unsigned char conv_displ[256];
extern unsigned char conv_input[256]; extern unsigned char conv_input[256];
struct codepage_desc { struct codepage_desc {
const char *id; char *id;
const char *name; char *name;
}; };
extern struct codepage_desc *codepages; extern struct codepage_desc *codepages;