diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2005-08-05 13:02:17 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2005-08-05 13:02:17 +0000 |
commit | 34ed8663d9c18d84be7e1207223eb7f60942a587 (patch) | |
tree | 6240e4993b1669735fae4ce03ed28946ee2178b1 /lib/libc/yp/yp_first.c | |
parent | 4781d6fc35f83f2ae60622d6110290ca0e6baae5 (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/yp_first.c')
-rw-r--r-- | lib/libc/yp/yp_first.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/libc/yp/yp_first.c b/lib/libc/yp/yp_first.c index 5ed38d2b64f..afc8676f0b7 100644 --- a/lib/libc/yp/yp_first.c +++ b/lib/libc/yp/yp_first.c @@ -1,3 +1,4 @@ +/* $OpenBSD: yp_first.c,v 1.8 2005/08/05 13:02:16 espie Exp $ */ /* * Copyright (c) 1992, 1993 Theo de Raadt <deraadt@theos.com> * All rights reserved. @@ -24,20 +25,10 @@ * SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: yp_first.c,v 1.7 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 <sys/file.h> -#include <sys/uio.h> -#include <errno.h> -#include <stdio.h> #include <stdlib.h> #include <string.h> -#include <unistd.h> #include <rpc/rpc.h> #include <rpc/xdr.h> #include <rpcsvc/yp.h> |