From 83f2eb88bd2e06b1e3089880d507095bef8f2490 Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 30 Dec 1996 15:32:43 +0000 Subject: Fix harmless bug found by new pointer-to-function prototypes. --- usr.sbin/ypserv/yp_main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr.sbin/ypserv') diff --git a/usr.sbin/ypserv/yp_main.c b/usr.sbin/ypserv/yp_main.c index b172180..e76b575 100644 --- a/usr.sbin/ypserv/yp_main.c +++ b/usr.sbin/ypserv/yp_main.c @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: yp_main.c,v 1.5 1996/12/24 07:52:52 wpaul Exp $ + * $Id: yp_main.c,v 1.10 1996/12/25 18:10:34 wpaul Exp $ */ /* @@ -66,7 +66,7 @@ #define _RPCSVC_CLOSEDOWN 120 #ifndef lint -static const char rcsid[] = "$Id: yp_main.c,v 1.5 1996/12/24 07:52:52 wpaul Exp $"; +static const char rcsid[] = "$Id: yp_main.c,v 1.10 1996/12/25 18:10:34 wpaul Exp $"; #endif /* not lint */ int _rpcpmstart; /* Started by a port monitor ? */ static int _rpcfdtype; @@ -77,8 +77,8 @@ static int _rpcfdtype; #define _SERVED 1 #define _SERVING 2 -extern void ypprog_1 __P((struct svc_req, register SVCXPRT)); -extern void ypprog_2 __P((struct svc_req, register SVCXPRT)); +extern void ypprog_1 __P((struct svc_req *, register SVCXPRT *)); +extern void ypprog_2 __P((struct svc_req *, register SVCXPRT *)); extern int _rpc_dtablesize __P((void)); extern int _rpcsvcstate; /* Set when a request is serviced */ char *progname = "ypserv"; -- cgit v1.1