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/gui/gtk/gui-gtk-color.c | |
parent | 2b1d7df86c745367cfdf4de13629790197b523b3 (diff) | |
download | weechat-3a53257032a0df8aa5f3b31f14a8e6f4e1f07595.zip |
Add "const" keyword for some "char *" function arguments (core and plugins API)
Diffstat (limited to 'src/gui/gtk/gui-gtk-color.c')
-rw-r--r-- | src/gui/gtk/gui-gtk-color.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gtk/gui-gtk-color.c b/src/gui/gtk/gui-gtk-color.c index 8fc19e099..ccfd5ebef 100644 --- a/src/gui/gtk/gui-gtk-color.c +++ b/src/gui/gtk/gui-gtk-color.c @@ -61,7 +61,7 @@ struct t_gui_color gui_weechat_colors[] = */ int -gui_color_search (char *color_name) +gui_color_search (const char *color_name) { int i; @@ -80,7 +80,7 @@ gui_color_search (char *color_name) */ int -gui_color_assign (int *color, char *color_name) +gui_color_assign (int *color, const char *color_name) { int i; |