summaryrefslogtreecommitdiff
path: root/lib/libc/yp/xdr_ypresp_val.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-08-05 13:02:17 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-08-05 13:02:17 +0000
commit34ed8663d9c18d84be7e1207223eb7f60942a587 (patch)
tree6240e4993b1669735fae4ce03ed28946ee2178b1 /lib/libc/yp/xdr_ypresp_val.c
parent4781d6fc35f83f2ae60622d6110290ca0e6baae5 (diff)
- remove rcsid
- put all the YPMATCHCACHE code into a #ifdef, proper - remove all extra header files that are not needed okay deraadt@
Diffstat (limited to 'lib/libc/yp/xdr_ypresp_val.c')
-rw-r--r--lib/libc/yp/xdr_ypresp_val.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/libc/yp/xdr_ypresp_val.c b/lib/libc/yp/xdr_ypresp_val.c
index fc85455cda5..056fa8d8003 100644
--- a/lib/libc/yp/xdr_ypresp_val.c
+++ b/lib/libc/yp/xdr_ypresp_val.c
@@ -1,3 +1,4 @@
+/* $OpenBSD: xdr_ypresp_val.c,v 1.6 2005/08/05 13:02:16 espie Exp $ */
/*
* Copyright (c) 1992, 1993 Theo de Raadt <deraadt@theos.com>
* All rights reserved.
@@ -24,21 +25,11 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: xdr_ypresp_val.c,v 1.5 2003/06/02 03:48:42 deraadt Exp $";
-#endif /* LIBC_SCCS and not lint */
-
#include <sys/param.h>
#include <sys/types.h>
-#include <sys/socket.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <ctype.h>
#include <rpc/rpc.h>
#include <rpc/xdr.h>
#include <rpcsvc/yp.h>
-#include <rpcsvc/ypclnt.h>
bool_t
xdr_ypresp_val(XDR *xdrs, struct ypresp_val *objp)