aboutsummaryrefslogtreecommitdiffstats
path: root/packet-rquota.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-rquota.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-rquota.c')
-rw-r--r--packet-rquota.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-rquota.c b/packet-rquota.c
index 8b32befad3..3069b5a2ad 100644
--- a/packet-rquota.c
+++ b/packet-rquota.c
@@ -2,7 +2,7 @@
* Routines for rquota dissection
* Copyright 2001, Mike Frisch <frisch@hummingbird.com>
*
- * $Id: packet-rquota.c,v 1.4 2001/06/18 02:17:51 guy Exp $
+ * $Id: packet-rquota.c,v 1.5 2001/11/27 22:37:20 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -57,7 +57,7 @@ static int hf_rquota_ftimeleft = -1;
static gint ett_rquota = -1;
static gint ett_rquota_rquota = -1;
-const value_string names_rquota_status[] =
+static const value_string names_rquota_status[] =
{
#define Q_OK 1
{ Q_OK, "OK" },
@@ -65,6 +65,7 @@ const value_string names_rquota_status[] =
{ Q_NOQUOTA, "NOQUOTA" },
#define Q_EPERM 3
{ Q_EPERM, "EPERM" },
+ { 0, NULL }
};