1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-26 09:42:25 +00:00

Const fallout, as predicted.

[originally from svn r3071]
This commit is contained in:
Ben Harris 2003-04-05 22:12:44 +00:00
parent 98583ce217
commit 9675063d38

View File

@ -1,4 +1,4 @@
/* $Id: macucs.c,v 1.6 2003/03/17 21:40:37 ben Exp $ */ /* $Id: macucs.c,v 1.7 2003/04/05 22:12:44 ben Exp $ */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -116,14 +116,14 @@ int decode_codepage(char *cp_name)
return 0; return 0;
} }
char *cp_enumerate (int index) char const *cp_enumerate (int index)
{ {
if (index == 0) return "ISO/IEC 8859-1"; if (index == 0) return "ISO/IEC 8859-1";
return NULL; return NULL;
} }
char *cp_name(int codepage) char const *cp_name(int codepage)
{ {
return "ISO/IEC 8859-1"; return "ISO/IEC 8859-1";