diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-07-24 19:01:28 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-07-24 19:01:28 +0000 |
commit | 554f62000190dead7a2d16e272138cc6e24ee57f (patch) | |
tree | ca1693ebf1407ac544cb272dbfe175ff1ff44a39 /tethereal.c | |
parent | 72c01a62f828e6a19a46eaa25807114fc1cca840 (diff) |
Constify to remove a bunch of warnings. Add some casts to squelch
(presumably-)harmless-but-otherwise-unremovable const-to-nonconst
warnings.
In the TACACS dissector, clean up the variables used in option parsing
to avoid some const-to-nonconst warnings.
Clean up some white space.
svn path=/trunk/; revision=15043
Diffstat (limited to 'tethereal.c')
-rw-r--r-- | tethereal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tethereal.c b/tethereal.c index d69f3f4942..44cb305359 100644 --- a/tethereal.c +++ b/tethereal.c @@ -268,7 +268,8 @@ print_usage(gboolean print_ver) * descriptive name. */ static void -display_dissector_table_names(char *table_name, char *ui_name, gpointer output) +display_dissector_table_names(char *table_name, const char *ui_name, + gpointer output) { fprintf((FILE *)output, "\t%s (%s)\n", table_name, ui_name); } |