aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ypserv.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-ypserv.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-ypserv.c')
-rw-r--r--packet-ypserv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-ypserv.c b/packet-ypserv.c
index 7401fcaef6..5a478a5657 100644
--- a/packet-ypserv.c
+++ b/packet-ypserv.c
@@ -1,7 +1,7 @@
/* packet-ypserv.c
* Routines for ypserv dissection
*
- * $Id: packet-ypserv.c,v 1.12 2001/01/03 06:55:34 guy Exp $
+ * $Id: packet-ypserv.c,v 1.13 2001/01/18 09:55:10 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -150,10 +150,10 @@ int dissect_firstnext_reply(const u_char *pd, int offset, frame_data *fd,
/* 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". */
/* someone please get me a version 1 trace */
-const vsff ypserv1_proc[] = {
+static const vsff ypserv1_proc[] = {
{ 0, "NULL", NULL, NULL },
{ YPPROC_ALL, "ALL",
NULL, NULL },
@@ -181,7 +181,7 @@ const vsff ypserv1_proc[] = {
};
/* end of YPServ version 2 */
-const vsff ypserv2_proc[] = {
+static const vsff ypserv2_proc[] = {
{ 0, "NULL", NULL, NULL },
{ YPPROC_ALL, "ALL",
NULL, NULL },