diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-11-27 22:37:20 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-11-27 22:37:20 +0000 |
commit | a4bc234f2d3b995330bdc6df40fa167df1ecb2da (patch) | |
tree | 0778bd7a255c661c4e9589f4ea11d7f3d69ff2db /packet-dcerpc.c | |
parent | 5613c7d37a275cc3f542c37bb185ada414665e78 (diff) |
Add { 0, NULL } terminators to some "value_string" arrays lacking them.
Make some static that don't need to be exported.
svn path=/trunk/; revision=4288
Diffstat (limited to 'packet-dcerpc.c')
-rw-r--r-- | packet-dcerpc.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/packet-dcerpc.c b/packet-dcerpc.c index 7dcb0ddb29..d64772ca29 100644 --- a/packet-dcerpc.c +++ b/packet-dcerpc.c @@ -2,7 +2,7 @@ * Routines for DCERPC packet disassembly * Copyright 2001, Todd Sabin <tas@webspan.net> * - * $Id: packet-dcerpc.c,v 1.18 2001/11/27 11:01:35 guy Exp $ + * $Id: packet-dcerpc.c,v 1.19 2001/11/27 22:37:19 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -61,23 +61,27 @@ static const value_string pckt_vals[] = { { 17, "Shutdown"}, { 18, "Co_cancel"}, { 19, "Orphaned"}, + { 0, NULL } }; static const value_string drep_byteorder_vals[] = { { 0, "Big-endian" }, - { 1, "Little-endian" } + { 1, "Little-endian" }, + { 0, NULL } }; static const value_string drep_character_vals[] = { { 0, "ASCII" }, - { 1, "EBCDIC" } + { 1, "EBCDIC" }, + { 0, NULL } }; static const value_string drep_fp_vals[] = { { 0, "IEEE" }, { 1, "VAX" }, { 2, "Cray" }, - { 3, "IBM" } + { 3, "IBM" }, + { 0, NULL } }; static const true_false_string flags_set_truth = { |