1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 13:56:37 +02:00

core: remove "const" for first argument of function utf8_normalize

This commit is contained in:
Sebastien Helleu
2011-08-02 13:24:53 +02:00
parent 7ef99737d0
commit cbdf4a4ae1
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1552,7 +1552,7 @@ Prototype:
[source,C]
----------------------------------------
void weechat_utf8_normalize (const char *string, char replacement);
void weechat_utf8_normalize (char *string, char replacement);
----------------------------------------
Arguments:
+1 -1
View File
@@ -1571,7 +1571,7 @@ Prototype :
[source,C]
----------------------------------------
void weechat_utf8_normalize (const char *string, char replacement);
void weechat_utf8_normalize (char *string, char replacement);
----------------------------------------
Paramètres :
+1 -1
View File
@@ -1531,7 +1531,7 @@ Prototipo:
[source,C]
----------------------------------------
void weechat_utf8_normalize (const char *string, char replacement);
void weechat_utf8_normalize (char *string, char replacement);
----------------------------------------
Argomenti:
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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);
+2 -2
View File
@@ -46,7 +46,7 @@ struct timeval;
*/
/* API version (used to check that plugin has same API and can be loaded) */
#define WEECHAT_PLUGIN_API_VERSION "20110726-01"
#define WEECHAT_PLUGIN_API_VERSION "20110802-01"
/* macros for defining plugin infos */
#define WEECHAT_PLUGIN_NAME(__name) \
@@ -212,7 +212,7 @@ struct t_weechat_plugin
/* UTF-8 strings */
int (*utf8_has_8bits) (const char *string);
int (*utf8_is_valid) (const char *string, char **error);
void (*utf8_normalize) (const char *string, char replacement);
void (*utf8_normalize) (char *string, char replacement);
char *(*utf8_prev_char) (const char *string_start, const char *string);
char *(*utf8_next_char) (const char *string);
int (*utf8_char_int) (const char *string);