Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mRemoteNG/PuTTYNG.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/unix
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2022-06-01 10:29:29 +0300
committerSimon Tatham <anakin@pobox.com>2022-06-01 10:29:29 +0300
commit8a907510dd8fa184f49b367c8207fc58c4e04e9f (patch)
treedd2ab460b48f160ac02db94cc146798b88cfb2b2 /unix
parenta647296d51f876c2302c5f14be526f2c3db3b6ad (diff)
decode_codepage(): add missing const in prototype.
Diffstat (limited to 'unix')
-rw-r--r--unix/unicode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/unicode.c b/unix/unicode.c
index 4eaa45f4..1db17ef4 100644
--- a/unix/unicode.c
+++ b/unix/unicode.c
@@ -264,7 +264,7 @@ const char *cp_enumerate(int index)
return charset_to_localenc(charset);
}
-int decode_codepage(char *cp_name)
+int decode_codepage(const char *cp_name)
{
if (!cp_name || !*cp_name)
return CS_UTF8;