From 8c14ddcd0f42fa7a1f0a3e2c39b83f86394b53b2 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 18 Jan 2001 09:55:10 +0000 Subject: 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 --- packet-ypserv.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'packet-ypserv.c') 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 @@ -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 }, -- cgit v1.2.3