aboutsummaryrefslogtreecommitdiffstats
path: root/packet-stat.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-01-18 09:55:10 +0000
committerGuy Harris <guy@alum.mit.edu>2001-01-18 09:55:10 +0000
commit8c14ddcd0f42fa7a1f0a3e2c39b83f86394b53b2 (patch)
treeb2c9b34395d68e2dd3384b1b81ef205dbb9c3352 /packet-stat.c
parentf3470d634106430a128b541944d0dbd288e7e768 (diff)
Fix comments to reflect what a null function pointer in a "vsff" table
really means. Make the "XXX_proc" arrays static. svn path=/trunk/; revision=2920
Diffstat (limited to 'packet-stat.c')
-rw-r--r--packet-stat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-stat.c b/packet-stat.c
index 58f66eb8d1..8de36f8e15 100644
--- a/packet-stat.c
+++ b/packet-stat.c
@@ -1,7 +1,7 @@
/* packet-stat.c
* Routines for stat dissection
*
- * $Id: packet-stat.c,v 1.6 2001/01/03 06:55:33 guy Exp $
+ * $Id: packet-stat.c,v 1.7 2001/01/18 09:55:10 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -41,9 +41,9 @@ static int proto_stat = -1;
static gint ett_stat = -1;
/* proc number, "proc name", dissect_request, dissect_reply */
-/* NULL as function pointer means: take the generic one. */
+/* NULL as function pointer means: type of arguments is "void". */
-const vsff stat_proc[] = {
+static const vsff stat_proc[] = {
{ 0, "NULL", NULL, NULL },
{ STATPROC_STAT, "STAT",
NULL, NULL },