diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-01-18 09:55:10 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-01-18 09:55:10 +0000 |
commit | 8c14ddcd0f42fa7a1f0a3e2c39b83f86394b53b2 (patch) | |
tree | b2c9b34395d68e2dd3384b1b81ef205dbb9c3352 /packet-stat.c | |
parent | f3470d634106430a128b541944d0dbd288e7e768 (diff) | |
download | wireshark-8c14ddcd0f42fa7a1f0a3e2c39b83f86394b53b2.tar.gz wireshark-8c14ddcd0f42fa7a1f0a3e2c39b83f86394b53b2.tar.bz2 wireshark-8c14ddcd0f42fa7a1f0a3e2c39b83f86394b53b2.zip |
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.c | 6 |
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 }, |