diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-04-03 18:18:50 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-04-03 18:18:50 +0000 |
commit | 6812b68eb1973d4a439cc1342890353982a42a57 (patch) | |
tree | b191b600b7710d04062effdc3f43d243d1150b55 /epan/column.h | |
parent | 68ad976a55954f7c4859c9402e4c219cf1fb5d45 (diff) |
From Yaniv Kaul: constify parameters
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4422
From me: Fix a number of instances where the function prototype or
the function definition wasn't changed so there was a mismatch
thus causing Windows (but not gcc) compilation errors.
svn path=/trunk/; revision=32365
Diffstat (limited to 'epan/column.h')
-rw-r--r-- | epan/column.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/epan/column.h b/epan/column.h index d8cf558bac..89c0bec4a9 100644 --- a/epan/column.h +++ b/epan/column.h @@ -35,19 +35,19 @@ typedef struct _fmt_data { gchar *custom_field; } fmt_data; -const gchar *col_format_to_string(gint); -const gchar *col_format_desc(gint); -gint get_column_format(gint); -void get_column_format_matches(gboolean *, gint); -gint get_column_format_from_str(gchar *); -gchar *get_column_title(gint); -const gchar *get_column_custom_field(gint); -const gchar *get_column_width_string(gint, gint); -const char *get_column_longest_string(gint); -gint get_column_char_width(gint format); +const gchar *col_format_to_string(const gint); +const gchar *col_format_desc(const gint); +gint get_column_format(const gint); +void get_column_format_matches(gboolean *, const gint); +gint get_column_format_from_str(const gchar *); +gchar *get_column_title(const gint); +const gchar *get_column_custom_field(const gint); +const gchar *get_column_width_string(const gint, const gint); +const char *get_column_longest_string(const gint); +gint get_column_char_width(const gint format); void -build_column_format_array(column_info *cinfo, gint num_cols, gboolean reset_fences); +build_column_format_array(column_info *cinfo, const gint num_cols, const gboolean reset_fences); #ifdef __cplusplus } |