summaryrefslogtreecommitdiff
path: root/src/gui/gui-history.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-06-03 10:56:51 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-06-03 10:56:51 +0200
commit3a53257032a0df8aa5f3b31f14a8e6f4e1f07595 (patch)
tree23d16979c6ee884220afbe148b32981338f7f690 /src/gui/gui-history.h
parent2b1d7df86c745367cfdf4de13629790197b523b3 (diff)
downloadweechat-3a53257032a0df8aa5f3b31f14a8e6f4e1f07595.zip
Add "const" keyword for some "char *" function arguments (core and plugins API)
Diffstat (limited to 'src/gui/gui-history.h')
-rw-r--r--src/gui/gui-history.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui-history.h b/src/gui/gui-history.h
index 73bd669e6..323817d33 100644
--- a/src/gui/gui-history.h
+++ b/src/gui/gui-history.h
@@ -34,8 +34,8 @@ extern struct t_gui_history *history_global_last;
extern struct t_gui_history *history_global_ptr;
/* history functions (gui-history.c) */
-extern void gui_history_buffer_add (struct t_gui_buffer *buffer, char *string);
-extern void gui_history_global_add (char *string);
+extern void gui_history_buffer_add (struct t_gui_buffer *buffer, const char *string);
+extern void gui_history_global_add (const char *string);
extern void gui_history_global_free ();
extern void gui_history_buffer_free (struct t_gui_buffer *buffer);