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-display.h | |
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-display.h')
-rw-r--r-- | src/plugins/irc/irc-display.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/plugins/irc/irc-display.h b/src/plugins/irc/irc-display.h index 74ab46bcf..e98d79ca2 100644 --- a/src/plugins/irc/irc-display.h +++ b/src/plugins/irc/irc-display.h @@ -22,14 +22,16 @@ extern void irc_display_hide_password (char *string, int look_for_nickserv); extern void irc_display_nick (struct t_gui_buffer *buffer, - struct t_irc_nick *nick, char *nickname, - int type, int display_around, char *force_color, - int no_nickmode); -extern void irc_display_away (struct t_irc_server *server, char *string1, - char *string2); -extern void irc_display_mode (struct t_gui_buffer *buffer, char *channel_name, - char *nick_name, char set_flag, char *symbol, - char *nick_host, char *message, char *param); + struct t_irc_nick *nick, const char *nickname, + int type, int display_around, + const char *force_color, int no_nickmode); +extern void irc_display_away (struct t_irc_server *server, const char *string1, + const char *string2); +extern void irc_display_mode (struct t_gui_buffer *buffer, + const char *channel_name, const char *nick_name, + char set_flag, const char *symbol, + const char *nick_host, const char *message, + const char *param); extern void irc_display_server (struct t_irc_server *server, int with_detail); #endif /* irc-display.h */ |