diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-07-24 19:01:28 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-07-24 19:01:28 +0000 |
commit | 220928b8c0d339ab78fc521ed604b1bc16b1ac54 (patch) | |
tree | ca1693ebf1407ac544cb272dbfe175ff1ff44a39 /epan/dissectors/packet-rpc.h | |
parent | 42a1f83bcb20989d255b29b5c2620a16a1366ef0 (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15043 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-rpc.h')
-rw-r--r-- | epan/dissectors/packet-rpc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-rpc.h b/epan/dissectors/packet-rpc.h index 3f2d97e76f..5dadf15fc8 100644 --- a/epan/dissectors/packet-rpc.h +++ b/epan/dissectors/packet-rpc.h @@ -120,7 +120,7 @@ extern const value_string rpc_auth_flavor[]; extern void rpc_init_proc_table(guint prog, guint vers, const vsff *proc_table, int procedure_hf); extern void rpc_init_prog(int proto, guint32 prog, int ett); -extern char *rpc_prog_name(guint32 prog); +extern const char *rpc_prog_name(guint32 prog); extern char *rpc_proc_name(guint32 prog, guint32 vers, guint32 proc); extern int rpc_prog_hf(guint32 prog, guint32 vers); @@ -167,7 +167,7 @@ typedef struct _rpc_prog_info_value { protocol_t *proto; int proto_id; int ett; - char* progname; + const char* progname; GArray *procedure_hfs; } rpc_prog_info_value; |