diff options
author | Simon Tatham <anakin@pobox.com> | 2022-06-01 10:29:29 +0300 |
---|---|---|
committer | Simon Tatham <anakin@pobox.com> | 2022-06-01 10:29:29 +0300 |
commit | 8a907510dd8fa184f49b367c8207fc58c4e04e9f (patch) | |
tree | dd2ab460b48f160ac02db94cc146798b88cfb2b2 /unix | |
parent | a647296d51f876c2302c5f14be526f2c3db3b6ad (diff) |
decode_codepage(): add missing const in prototype.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/unicode.c | 2 |
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; |