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 /gtk/decode_as_dcerpc.h | |
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 'gtk/decode_as_dcerpc.h')
-rw-r--r-- | gtk/decode_as_dcerpc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/decode_as_dcerpc.h b/gtk/decode_as_dcerpc.h index 92f130d7bf..6b1dcc26eb 100644 --- a/gtk/decode_as_dcerpc.h +++ b/gtk/decode_as_dcerpc.h @@ -97,10 +97,10 @@ decode_dcerpc_binding_free(void *binding); extern void decode_add_to_show_list ( gpointer list_data, -gchar *table_name, +const gchar *table_name, gchar *selector_name, -gchar *initial_proto_name, -gchar *current_proto_name); +const gchar *initial_proto_name, +const gchar *current_proto_name); /* @@ -124,7 +124,7 @@ gchar *current_proto_name); * to store any information generated by this routine. */ extern void -decode_add_to_list (gchar *table_name, gchar *proto_name, gpointer value, gpointer user_data); +decode_add_to_list (gchar *table_name, const gchar *proto_name, gpointer value, gpointer user_data); /* * This routine starts the creation of a List on a notebook page. It |