summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-25 21:45:48 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-25 21:45:48 +0000
commit621dcd188e5cca868b7b0e6c901afc2144009db8 (patch)
treea4c8245d611bc0c0629b1a232d877c587d309bd3 /usr.sbin
parent6ec46245395c59d76ca0d5d87446a38e7d948106 (diff)
remove excess proto
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ypbind/ypbind.c8
-rw-r--r--usr.sbin/ypset/ypset.c6
2 files changed, 4 insertions, 10 deletions
diff --git a/usr.sbin/ypbind/ypbind.c b/usr.sbin/ypbind/ypbind.c
index 97664cf0e75..dfe7205c5a7 100644
--- a/usr.sbin/ypbind/ypbind.c
+++ b/usr.sbin/ypbind/ypbind.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypbind.c,v 1.48 2003/06/02 04:00:17 deraadt Exp $ */
+/* $OpenBSD: ypbind.c,v 1.49 2003/06/25 21:45:47 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993, 1996, 1997, 1998 Theo de Raadt <deraadt@openbsd.org>
@@ -27,7 +27,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: ypbind.c,v 1.48 2003/06/02 04:00:17 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: ypbind.c,v 1.49 2003/06/25 21:45:47 deraadt Exp $";
#endif
#include <sys/param.h>
@@ -81,10 +81,6 @@ struct _dom_binding {
FILE *dom_servlistfp;
};
-extern bool_t xdr_domainname(), xdr_ypbind_resp();
-extern bool_t xdr_ypreq_key(), xdr_ypresp_val();
-extern bool_t xdr_ypbind_setdom();
-
void rpc_received(char *dom, struct sockaddr_in *raddrp, int force);
void checkwork(void);
enum clnt_stat handle_replies(void);
diff --git a/usr.sbin/ypset/ypset.c b/usr.sbin/ypset/ypset.c
index 9d116294472..4670aed4133 100644
--- a/usr.sbin/ypset/ypset.c
+++ b/usr.sbin/ypset/ypset.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypset.c,v 1.9 2003/06/25 21:44:16 deraadt Exp $ */
+/* $OpenBSD: ypset.c,v 1.10 2003/06/25 21:44:56 deraadt Exp $ */
/* $NetBSD: ypset.c,v 1.8 1996/05/13 02:46:33 thorpej Exp $ */
/*
@@ -28,7 +28,7 @@
*/
#ifndef LINT
-static char rcsid[] = "$OpenBSD: ypset.c,v 1.9 2003/06/25 21:44:16 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: ypset.c,v 1.10 2003/06/25 21:44:56 deraadt Exp $";
#endif
#include <sys/param.h>
@@ -45,8 +45,6 @@ static char rcsid[] = "$OpenBSD: ypset.c,v 1.9 2003/06/25 21:44:16 deraadt Exp $
#include <rpcsvc/ypclnt.h>
#include <arpa/inet.h>
-extern bool_t xdr_domainname(XDR *, domainname *);
-
void
usage(void)
{