From 6d24b27606da5b9a86bb13d3de3bd195d249a757 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 31 Dec 2004 00:12:25 +0000 Subject: 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 --- ui_util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui_util.h') 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 *); -- cgit v1.2.3