path: root/ui_util.h
diff options
authorGuy Harris <guy@alum.mit.edu>2004-12-31 00:12:25 +0000
committerGuy Harris <guy@alum.mit.edu>2004-12-31 00:12:25 +0000
commit6d24b27606da5b9a86bb13d3de3bd195d249a757 (patch)
tree698e03431bf5a15d2c7c91e9e24f074b23da6c5b /ui_util.h
parent3ae6f28d3f592e4a09c7d3499dfc51354d65d0c2 (diff)
Make the "col_data" field in a "column_info" structure a pointer to an
array of "const char *" rather than to an array of "char *", and make the second argument of "col_set_str()" a "const char *" - there's no guarantee that "col_data" points to something you're allowed to modify. svn path=/trunk/; revision=12880
Diffstat (limited to 'ui_util.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/ui_util.h b/ui_util.h
index e03badfaed..c97fcb8bdc 100644
--- a/ui_util.h
+++ b/ui_util.h
@@ -51,7 +51,7 @@ void packet_list_freeze(void);
void packet_list_thaw(void);
void packet_list_select_row(gint);
void packet_list_moveto_end(void);
-gint packet_list_append(gchar *text[], gpointer data);
+gint packet_list_append(const gchar *text[], gpointer data);
void packet_list_set_colors(gint, color_t *, color_t *);
gint packet_list_find_row_from_data(gpointer);
void packet_list_set_text(gint, gint, const gchar *);