aboutsummaryrefslogtreecommitdiffstats
path: root/epan/column-utils.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-12-30 23:57:29 +0000
committerGuy Harris <guy@alum.mit.edu>2004-12-30 23:57:29 +0000
commit0b21e2bcabbdfcca44c9db4590710e7b4618d7ee (patch)
treed36da177c2c7f6a91690539bb3af669c621261c7 /epan/column-utils.h
parentdf2c4d7e695261b900e399aac453b003409efdba (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=12878
Diffstat (limited to 'epan/column-utils.h')
-rw-r--r--epan/column-utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/column-utils.h b/epan/column-utils.h
index 770be8d39b..a02746fbe5 100644
--- a/epan/column-utils.h
+++ b/epan/column-utils.h
@@ -47,7 +47,7 @@ extern void col_set_writable(column_info *, gboolean);
extern gint check_col(column_info *, gint);
extern void col_set_fence(column_info *, gint);
extern void col_clear(column_info *, gint);
-extern void col_set_str(column_info *, gint, gchar *);
+extern void col_set_str(column_info *, gint, const gchar *);
#if __GNUC__ >= 2
extern void col_add_fstr(column_info *, gint, const gchar *, ...)
__attribute__((format (printf, 3, 4)));