diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-11-19 23:23:41 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-11-19 23:23:41 +0000 |
commit | 259982160a498817f378ef708efd9dfea55f48a3 (patch) | |
tree | b0d840a69ebfea4758a3920bb3c34745284693c3 /packet-rpc.h | |
parent | bfeff47889d6c8b7d7a0fc0446c2a80093f6f42a (diff) | |
download | wireshark-259982160a498817f378ef708efd9dfea55f48a3.tar.gz wireshark-259982160a498817f378ef708efd9dfea55f48a3.tar.bz2 wireshark-259982160a498817f378ef708efd9dfea55f48a3.zip |
Make various "value_string" tables "const"; this allows the compiler to
stuff them into shared read-only space.
Put the "VALS()" cast macro into the initialization of an
"hf_register_info" array.
svn path=/trunk/; revision=1072
Diffstat (limited to 'packet-rpc.h')
-rw-r--r-- | packet-rpc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-rpc.h b/packet-rpc.h index 0f8521c897..40d90f5cad 100644 --- a/packet-rpc.h +++ b/packet-rpc.h @@ -1,5 +1,5 @@ /* packet-rpc.h (c) 1999 Uwe Girlich */ -/* $Id: packet-rpc.h,v 1.8 1999/11/19 13:09:56 gram Exp $ */ +/* $Id: packet-rpc.h,v 1.9 1999/11/19 23:23:41 guy Exp $ */ #ifndef __PACKET_RPC_H__ #define __PACKET_RPC_H__ @@ -84,7 +84,7 @@ typedef struct _rpc_call_info { #define RPC_CALL_TABLE_LENGTH 1000 -extern value_string rpc_auth_flavor[]; +extern const value_string rpc_auth_flavor[]; extern void rpc_call_insert(rpc_call_info *call); extern rpc_call_info* rpc_call_lookup(rpc_call_info *call); |