diff options
Diffstat (limited to 'src/gui/gui-color.h')
-rw-r--r-- | src/gui/gui-color.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/gui-color.h b/src/gui/gui-color.h index 1b455ba43..ec6e49e48 100644 --- a/src/gui/gui-color.h +++ b/src/gui/gui-color.h @@ -137,15 +137,15 @@ extern struct t_gui_color *gui_color[]; /* color functions */ -extern int gui_color_search_config_int (char *color_name); +extern int gui_color_search_config_int (const char *color_name); extern char *gui_color_search_config_str (int color_number); -extern unsigned char *gui_color_decode (unsigned char *string); +extern unsigned char *gui_color_decode (const unsigned char *string); extern void gui_color_free (struct t_gui_color *color); /* color functions (GUI dependent) */ -extern int gui_color_search (char *color_name); -extern int gui_color_assign (int *color, char *color_name); +extern int gui_color_search (const char *color_name); +extern int gui_color_assign (int *color, char const *color_name); extern int gui_color_get_number (); extern char *gui_color_get_name (int num_color); extern void gui_color_init_pairs (); |