aboutsummaryrefslogtreecommitdiffstats
path: root/packet-klm.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-11-27 22:37:20 +0000
committerGuy Harris <guy@alum.mit.edu>2001-11-27 22:37:20 +0000
commita4bc234f2d3b995330bdc6df40fa167df1ecb2da (patch)
tree0778bd7a255c661c4e9589f4ea11d7f3d69ff2db /packet-klm.c
parent5613c7d37a275cc3f542c37bb185ada414665e78 (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-klm.c')
-rw-r--r--packet-klm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-klm.c b/packet-klm.c
index a5dcf9914e..b08bbcb509 100644
--- a/packet-klm.c
+++ b/packet-klm.c
@@ -1,7 +1,7 @@
/* packet-klm.c 2001 Ronnie Sahlberg <rsahlber@bigpond.net.au>
* Routines for klm dissection
*
- * $Id: packet-klm.c,v 1.4 2001/06/18 02:17:48 guy Exp $
+ * $Id: packet-klm.c,v 1.5 2001/11/27 22:37:20 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -51,7 +51,7 @@ static gint ett_klm = -1;
static gint ett_klm_lock = -1;
static gint ett_klm_holder = -1;
-const value_string names_klm_stats[] =
+static const value_string names_klm_stats[] =
{
#define KLM_GRANTED 0
{ KLM_GRANTED, "KLM_GRANTED" },
@@ -61,6 +61,7 @@ const value_string names_klm_stats[] =
{ KLM_DENIED_NOLOCKS, "KLM_DENIED_NOLOCKS" },
#define KLM_WORKING 3
{ KLM_WORKING, "KLM_WORKING" },
+ { 0, NULL }
};
static int