summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-08-02 13:24:53 +0200
committerSebastien Helleu <flashcode@flashtux.org>2011-08-02 13:24:53 +0200
commitcbdf4a4ae1a4ae2006215934b2466713cf2d6efa (patch)
tree3e3d41715846d9942c17baedf18fb91e4844a4e5 /src/core
parent7ef99737d07820e60f03f094a8d40de1469cc8b8 (diff)
downloadweechat-cbdf4a4ae1a4ae2006215934b2466713cf2d6efa.zip
core: remove "const" for first argument of function utf8_normalize
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-utf8.c2
-rw-r--r--src/core/wee-utf8.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/wee-utf8.c b/src/core/wee-utf8.c
index bb4c6ac54..1ef32542e 100644
--- a/src/core/wee-utf8.c
+++ b/src/core/wee-utf8.c
@@ -134,7 +134,7 @@ utf8_is_valid (const char *string, char **error)
*/
void
-utf8_normalize (const char *string, char replacement)
+utf8_normalize (char *string, char replacement)
{
char *error;
diff --git a/src/core/wee-utf8.h b/src/core/wee-utf8.h
index 0f7a4244a..51a721143 100644
--- a/src/core/wee-utf8.h
+++ b/src/core/wee-utf8.h
@@ -35,7 +35,7 @@ extern int local_utf8;
extern void utf8_init ();
extern int utf8_has_8bits (const char *string);
extern int utf8_is_valid (const char *string, char **error);
-extern void utf8_normalize (const char *string, char replacement);
+extern void utf8_normalize (char *string, char replacement);
extern char *utf8_prev_char (const char *string_start, const char *string);
extern char *utf8_next_char (const char *string);
extern int utf8_char_int (const char *string);