diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-06-03 10:56:51 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-06-03 10:56:51 +0200 |
commit | 3a53257032a0df8aa5f3b31f14a8e6f4e1f07595 (patch) | |
tree | 23d16979c6ee884220afbe148b32981338f7f690 /src/plugins/irc/irc-debug.c | |
parent | 2b1d7df86c745367cfdf4de13629790197b523b3 (diff) | |
download | weechat-3a53257032a0df8aa5f3b31f14a8e6f4e1f07595.zip |
Add "const" keyword for some "char *" function arguments (core and plugins API)
Diffstat (limited to 'src/plugins/irc/irc-debug.c')
-rw-r--r-- | src/plugins/irc/irc-debug.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/irc/irc-debug.c b/src/plugins/irc/irc-debug.c index eb3c123a3..4f16ce8f3 100644 --- a/src/plugins/irc/irc-debug.c +++ b/src/plugins/irc/irc-debug.c @@ -54,7 +54,7 @@ irc_debug_buffer_close_cb (void *data, struct t_gui_buffer *buffer) void irc_debug_printf (struct t_irc_server *server, int send, int modified, - char *message) + const char *message) { char *buf; @@ -100,8 +100,8 @@ irc_debug_printf (struct t_irc_server *server, int send, int modified, */ int -irc_debug_signal_debug_cb (void *data, char *signal, char *type_data, - void *signal_data) +irc_debug_signal_debug_cb (void *data, const char *signal, + const char *type_data, void *signal_data) { /* make C compiler happy */ (void) data; @@ -127,8 +127,8 @@ irc_debug_signal_debug_cb (void *data, char *signal, char *type_data, */ int -irc_debug_signal_debug_dump_cb (void *data, char *signal, char *type_data, - void *signal_data) +irc_debug_signal_debug_dump_cb (void *data, const char *signal, + const char *type_data, void *signal_data) { /* make C compiler happy */ (void) data; |