summaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv/common/yplib_host.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-15 06:10:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-07-15 06:10:47 +0000
commit922441d1f8a1fee372fbabd2bc2847427c615021 (patch)
treed238dad6c670df972d60933dbd365b716ada61ec /usr.sbin/ypserv/common/yplib_host.c
parentd87819fc35744dfcf59693c3497e2bbca6c7f933 (diff)
protos and repairs
Diffstat (limited to 'usr.sbin/ypserv/common/yplib_host.c')
-rw-r--r--usr.sbin/ypserv/common/yplib_host.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/usr.sbin/ypserv/common/yplib_host.c b/usr.sbin/ypserv/common/yplib_host.c
index 1bb201cca8d..601132b7479 100644
--- a/usr.sbin/ypserv/common/yplib_host.c
+++ b/usr.sbin/ypserv/common/yplib_host.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: yplib_host.c,v 1.13 2003/06/02 04:12:38 deraadt Exp $ */
+/* $OpenBSD: yplib_host.c,v 1.14 2003/07/15 06:10:46 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993 Theo de Raadt <deraadt@theos.com>
@@ -27,7 +27,7 @@
*/
#ifndef LINT
-static const char rcsid[] = "$OpenBSD: yplib_host.c,v 1.13 2003/06/02 04:12:38 deraadt Exp $";
+static const char rcsid[] = "$OpenBSD: yplib_host.c,v 1.14 2003/07/15 06:10:46 deraadt Exp $";
#endif
#include <sys/param.h>
@@ -48,14 +48,9 @@ static const char rcsid[] = "$OpenBSD: yplib_host.c,v 1.13 2003/06/02 04:12:38 d
#include <rpc/xdr.h>
#include <rpcsvc/yp.h>
#include <rpcsvc/ypclnt.h>
+#include "yplib_host.h"
-extern bool_t xdr_domainname(), xdr_ypbind_resp();
-extern bool_t xdr_ypreq_key(), xdr_ypresp_val();
-extern bool_t xdr_ypreq_nokey(), xdr_ypresp_key_val();
-extern bool_t xdr_ypresp_all(), xdr_ypresp_all_seq();
-extern bool_t xdr_ypresp_master();
-
-extern int (*ypresp_allfn)();
+extern int (*ypresp_allfn)(u_long, char *, int, char *, int, void *);
extern void *ypresp_data;
int _yplib_host_timeout = 10;