summaryrefslogtreecommitdiff
path: root/src/core/wee-string.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2022-12-18 14:10:10 +0100
committerSébastien Helleu <flashcode@flashtux.org>2022-12-18 14:28:58 +0100
commit40339b288ac37ace539d9091e8a2878540f49273 (patch)
tree5570b3a5a48e8a4cee4daaa36bc002d93a392084 /src/core/wee-string.h
parenteb6cc0bc2afa96824667521d3405bd1c077a4690 (diff)
downloadweechat-40339b288ac37ace539d9091e8a2878540f49273.zip
api: return newly allocated string in functions string_tolower and string_toupper
Diffstat (limited to 'src/core/wee-string.h')
-rw-r--r--src/core/wee-string.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/wee-string.h b/src/core/wee-string.h
index 62e04f76d..59cb4fb64 100644
--- a/src/core/wee-string.h
+++ b/src/core/wee-string.h
@@ -42,8 +42,8 @@ extern char *string_cut (const char *string, int length, int count_suffix,
extern char *string_reverse (const char *string);
extern char *string_reverse_screen (const char *string);
extern char *string_repeat (const char *string, int count);
-extern void string_tolower (char *string);
-extern void string_toupper (char *string);
+extern char *string_tolower (const char *string);
+extern char *string_toupper (const char *string);
extern int string_strcasecmp (const char *string1, const char *string2);
extern int string_strcasecmp_range (const char *string1, const char *string2,
int range);