aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rpc.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-11-19 23:23:41 +0000
committerGuy Harris <guy@alum.mit.edu>1999-11-19 23:23:41 +0000
commit259982160a498817f378ef708efd9dfea55f48a3 (patch)
treeb0d840a69ebfea4758a3920bb3c34745284693c3 /packet-rpc.c
parentbfeff47889d6c8b7d7a0fc0446c2a80093f6f42a (diff)
downloadwireshark-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.c')
-rw-r--r--packet-rpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-rpc.c b/packet-rpc.c
index b97eca666a..91f4b1cf87 100644
--- a/packet-rpc.c
+++ b/packet-rpc.c
@@ -2,7 +2,7 @@
* Routines for rpc dissection
* Copyright 1999, Uwe Girlich <Uwe.Girlich@philosys.de>
*
- * $Id: packet-rpc.c,v 1.18 1999/11/19 13:09:56 gram Exp $
+ * $Id: packet-rpc.c,v 1.19 1999/11/19 23:23:40 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@unicom.net>
@@ -59,7 +59,7 @@ static const value_string rpc_reply_state[3] = {
{ 0, NULL }
};
-value_string rpc_auth_flavor[] = {
+const value_string rpc_auth_flavor[] = {
{ AUTH_NULL, "AUTH_NULL" },
{ AUTH_UNIX, "AUTH_UNIX" },
{ AUTH_SHORT, "AUTH_SHORT" },