diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-04-23 10:59:26 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-04-23 10:59:26 +0000 |
commit | 1bc049906a35c3490532ab68fcbf90750c225f77 (patch) | |
tree | f690697725617a640820ade652da4cf766bdc863 /gtk/decode_as_dlg.c | |
parent | 7dc9df5f26ed136405fd1e99d62ebc3a6bf92dd5 (diff) |
Add some GCC warnings to the standard set, and add some others to the
--enable-extra-gcc-checks set.
If we turn on -pedantic, try turning on -Wno-long-long as well, so that
it's not *so* pedantic that it rejects the 64-bit integral data types
that we explicitly require.
Constify a bunch of stuff, and make some other changes, to get rid of
warnings.
Clean up some indentation.
svn path=/trunk/; revision=21526
Diffstat (limited to 'gtk/decode_as_dlg.c')
-rw-r--r-- | gtk/decode_as_dlg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/decode_as_dlg.c b/gtk/decode_as_dlg.c index e8e36223cf..1beacd4994 100644 --- a/gtk/decode_as_dlg.c +++ b/gtk/decode_as_dlg.c @@ -186,7 +186,7 @@ GSList *dissector_reset_list = NULL; * @param user_data Unused. */ static void -decode_build_reset_list (gchar *table_name, ftenum_t selector_type, +decode_build_reset_list (const gchar *table_name, ftenum_t selector_type, gpointer key, gpointer value _U_, gpointer user_data _U_) { @@ -319,7 +319,7 @@ const gchar *current_proto_name) * should be stored. */ static void -decode_build_show_list (gchar *table_name, ftenum_t selector_type, +decode_build_show_list (const gchar *table_name, ftenum_t selector_type, gpointer key, gpointer value, gpointer user_data) { dissector_handle_t current, initial; |