diff options
Diffstat (limited to 'lib')
30 files changed, 32 insertions, 302 deletions
diff --git a/lib/libc/yp/_yp_check.c b/lib/libc/yp/_yp_check.c index a330708d4e2..f7576afc653 100644 --- a/lib/libc/yp/_yp_check.c +++ b/lib/libc/yp/_yp_check.c @@ -1,3 +1,4 @@ +/* $OpenBSD: _yp_check.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,20 +25,8 @@ * SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: _yp_check.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 <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> diff --git a/lib/libc/yp/xdr_domainname.c b/lib/libc/yp/xdr_domainname.c index bfaf2191cb4..74838bdd18e 100644 --- a/lib/libc/yp/xdr_domainname.c +++ b/lib/libc/yp/xdr_domainname.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr_domainname.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_domainname.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_domainname(XDR *xdrs, domainname *objp) diff --git a/lib/libc/yp/xdr_keydat.c b/lib/libc/yp/xdr_keydat.c index 8d4502b2638..21c5768b0f0 100644 --- a/lib/libc/yp/xdr_keydat.c +++ b/lib/libc/yp/xdr_keydat.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr_keydat.c,v 1.7 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_keydat.c,v 1.6 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_keydat(XDR *xdrs, keydat *objp) diff --git a/lib/libc/yp/xdr_mapname.c b/lib/libc/yp/xdr_mapname.c index a0628d4cacd..68e7302530d 100644 --- a/lib/libc/yp/xdr_mapname.c +++ b/lib/libc/yp/xdr_mapname.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr_mapname.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_mapname.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_mapname(XDR *xdrs, mapname *objp) diff --git a/lib/libc/yp/xdr_peername.c b/lib/libc/yp/xdr_peername.c index 8fc7d0c5127..332ce89d66a 100644 --- a/lib/libc/yp/xdr_peername.c +++ b/lib/libc/yp/xdr_peername.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr_peername.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_peername.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_peername(XDR *xdrs, peername *objp) diff --git a/lib/libc/yp/xdr_valdat.c b/lib/libc/yp/xdr_valdat.c index 40283fbaa75..f3d81e193cf 100644 --- a/lib/libc/yp/xdr_valdat.c +++ b/lib/libc/yp/xdr_valdat.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr_valdat.c,v 1.7 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_valdat.c,v 1.6 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_valdat(XDR *xdrs, valdat *objp) diff --git a/lib/libc/yp/xdr_ypbind_binding.c b/lib/libc/yp/xdr_ypbind_binding.c index 0e71aadd0f0..5d80f19f8db 100644 --- a/lib/libc/yp/xdr_ypbind_binding.c +++ b/lib/libc/yp/xdr_ypbind_binding.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr_ypbind_binding.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_ypbind_binding.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_ypbind_binding(XDR *xdrs, struct ypbind_binding *objp) diff --git a/lib/libc/yp/xdr_ypbind_resp.c b/lib/libc/yp/xdr_ypbind_resp.c index 6cfa9449d54..51821f7131c 100644 --- a/lib/libc/yp/xdr_ypbind_resp.c +++ b/lib/libc/yp/xdr_ypbind_resp.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr_ypbind_resp.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_ypbind_resp.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_ypbind_resp(XDR *xdrs, struct ypbind_resp *objp) diff --git a/lib/libc/yp/xdr_ypbind_resptype.c b/lib/libc/yp/xdr_ypbind_resptype.c index e312c952192..43f996caeb3 100644 --- a/lib/libc/yp/xdr_ypbind_resptype.c +++ b/lib/libc/yp/xdr_ypbind_resptype.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr_ypbind_resptype.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_ypbind_resptype.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_ypbind_resptype(XDR *xdrs, enum ypbind_resptype *objp) diff --git a/lib/libc/yp/xdr_ypbind_setdom.c b/lib/libc/yp/xdr_ypbind_setdom.c index c9fa2f81cb8..1f8a3dacda4 100644 --- a/lib/libc/yp/xdr_ypbind_setdom.c +++ b/lib/libc/yp/xdr_ypbind_setdom.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr_ypbind_setdom.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_ypbind_setdom.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_ypbind_setdom(XDR *xdrs, struct ypbind_setdom *objp) diff --git a/lib/libc/yp/xdr_ypmaplist.c b/lib/libc/yp/xdr_ypmaplist.c index 464f9ee733c..998d0291851 100644 --- a/lib/libc/yp/xdr_ypmaplist.c +++ b/lib/libc/yp/xdr_ypmaplist.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr_ypmaplist.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_ypmaplist.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_ypmaplist(XDR *xdrs, struct ypmaplist *objp) diff --git a/lib/libc/yp/xdr_ypreq_key.c b/lib/libc/yp/xdr_ypreq_key.c index 9f046677dfb..5b3c6c25907 100644 --- a/lib/libc/yp/xdr_ypreq_key.c +++ b/lib/libc/yp/xdr_ypreq_key.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr_ypreq_key.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_ypreq_key.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_ypreq_key(XDR *xdrs, struct ypreq_key *objp) diff --git a/lib/libc/yp/xdr_ypreq_nokey.c b/lib/libc/yp/xdr_ypreq_nokey.c index 2218bae1727..7a920592e1a 100644 --- a/lib/libc/yp/xdr_ypreq_nokey.c +++ b/lib/libc/yp/xdr_ypreq_nokey.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr_ypreq_nokey.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_ypreq_nokey.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_ypreq_nokey(XDR *xdrs, struct ypreq_nokey *objp) diff --git a/lib/libc/yp/xdr_ypresp_all.c b/lib/libc/yp/xdr_ypresp_all.c index 07a712b8aed..11a1c5b220b 100644 --- a/lib/libc/yp/xdr_ypresp_all.c +++ b/lib/libc/yp/xdr_ypresp_all.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr_ypresp_all.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_all.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_all(XDR *xdrs, struct ypresp_all *objp) diff --git a/lib/libc/yp/xdr_ypresp_key_val.c b/lib/libc/yp/xdr_ypresp_key_val.c index f080bb80738..d6567d73303 100644 --- a/lib/libc/yp/xdr_ypresp_key_val.c +++ b/lib/libc/yp/xdr_ypresp_key_val.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr_ypresp_key_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_key_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_key_val(XDR *xdrs, struct ypresp_key_val *objp) diff --git a/lib/libc/yp/xdr_ypresp_maplist.c b/lib/libc/yp/xdr_ypresp_maplist.c index 76d64d22289..edea438bf0c 100644 --- a/lib/libc/yp/xdr_ypresp_maplist.c +++ b/lib/libc/yp/xdr_ypresp_maplist.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr_ypresp_maplist.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_maplist.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_maplist(XDR *xdrs, struct ypresp_maplist *objp) diff --git a/lib/libc/yp/xdr_ypresp_master.c b/lib/libc/yp/xdr_ypresp_master.c index 80ef31253b4..77564692a19 100644 --- a/lib/libc/yp/xdr_ypresp_master.c +++ b/lib/libc/yp/xdr_ypresp_master.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr_ypresp_master.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_master.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_master(XDR *xdrs, struct ypresp_master *objp) diff --git a/lib/libc/yp/xdr_ypresp_order.c b/lib/libc/yp/xdr_ypresp_order.c index b5d69c96c1b..5d2d3bcf5eb 100644 --- a/lib/libc/yp/xdr_ypresp_order.c +++ b/lib/libc/yp/xdr_ypresp_order.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr_ypresp_order.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_order.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_order(XDR *xdrs, struct ypresp_order *objp) 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) diff --git a/lib/libc/yp/xdr_ypstat.c b/lib/libc/yp/xdr_ypstat.c index d1c2af592b8..5a045eba536 100644 --- a/lib/libc/yp/xdr_ypstat.c +++ b/lib/libc/yp/xdr_ypstat.c @@ -1,3 +1,4 @@ +/* $OpenBSD: xdr_ypstat.c,v 1.7 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_ypstat.c,v 1.6 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_ypstat(XDR *xdrs, ypstat *objp) diff --git a/lib/libc/yp/yp_all.c b/lib/libc/yp/yp_all.c index d3516165fff..9445d5e3cd8 100644 --- a/lib/libc/yp/yp_all.c +++ b/lib/libc/yp/yp_all.c @@ -1,3 +1,4 @@ +/* $OpenBSD: yp_all.c,v 1.9 2005/08/05 13:02:16 espie Exp $ */ /* * Copyright (c) 1992, 1993 Theo de Raadt <deraadt@theos.com> * All rights reserved. @@ -24,20 +25,11 @@ * SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: yp_all.c,v 1.8 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> diff --git a/lib/libc/yp/yp_bind.c b/lib/libc/yp/yp_bind.c index 1173244b619..e1ef44433e4 100644 --- a/lib/libc/yp/yp_bind.c +++ b/lib/libc/yp/yp_bind.c @@ -1,3 +1,4 @@ +/* $OpenBSD: yp_bind.c,v 1.15 2005/08/05 13:02:16 espie Exp $ */ /* * Copyright (c) 1992, 1993, 1996 Theo de Raadt <deraadt@theos.com> * All rights reserved. @@ -24,10 +25,6 @@ * SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: yp_bind.c,v 1.14 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> 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> diff --git a/lib/libc/yp/yp_get_default_domain.c b/lib/libc/yp/yp_get_default_domain.c index 29a822324d0..a752e094e9e 100644 --- a/lib/libc/yp/yp_get_default_domain.c +++ b/lib/libc/yp/yp_get_default_domain.c @@ -1,3 +1,4 @@ +/* $OpenBSD: yp_get_default_domain.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,19 +25,8 @@ * SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: yp_get_default_domain.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 <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> diff --git a/lib/libc/yp/yp_maplist.c b/lib/libc/yp/yp_maplist.c index 2109d82c5eb..b8785527c51 100644 --- a/lib/libc/yp/yp_maplist.c +++ b/lib/libc/yp/yp_maplist.c @@ -1,3 +1,4 @@ +/* $OpenBSD: yp_maplist.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,9 @@ * SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: yp_maplist.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> diff --git a/lib/libc/yp/yp_master.c b/lib/libc/yp/yp_master.c index 1f83fc6c890..eb1597495d9 100644 --- a/lib/libc/yp/yp_master.c +++ b/lib/libc/yp/yp_master.c @@ -1,3 +1,4 @@ +/* $OpenBSD: yp_master.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,9 @@ * SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: yp_master.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> diff --git a/lib/libc/yp/yp_order.c b/lib/libc/yp/yp_order.c index bfcc73aab11..fbea4f334c8 100644 --- a/lib/libc/yp/yp_order.c +++ b/lib/libc/yp/yp_order.c @@ -1,3 +1,4 @@ +/* $OpenBSD: yp_order.c,v 1.9 2005/08/05 13:02:16 espie Exp $ */ /* * Copyright (c) 1992, 1993 Theo de Raadt <deraadt@theos.com> * All rights reserved. @@ -24,20 +25,9 @@ * SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: yp_order.c,v 1.8 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> diff --git a/lib/libc/yp/yperr_string.c b/lib/libc/yp/yperr_string.c index 2ff9f5d1579..cb959f8120b 100644 --- a/lib/libc/yp/yperr_string.c +++ b/lib/libc/yp/yperr_string.c @@ -1,3 +1,4 @@ +/* $OpenBSD: yperr_string.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,20 +25,9 @@ * SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: yperr_string.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 <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> diff --git a/lib/libc/yp/ypmatch_cache.c b/lib/libc/yp/ypmatch_cache.c index 6b2f1482686..2c0df63e7cc 100644 --- a/lib/libc/yp/ypmatch_cache.c +++ b/lib/libc/yp/ypmatch_cache.c @@ -1,3 +1,4 @@ +/* $OpenBSD: ypmatch_cache.c,v 1.12 2005/08/05 13:02:16 espie Exp $ */ /* * Copyright (c) 1992, 1993 Theo de Raadt <deraadt@theos.com> * All rights reserved. @@ -24,26 +25,17 @@ * SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: ypmatch_cache.c,v 1.11 2003/06/25 21:51:56 marc 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> #include <rpcsvc/ypclnt.h> #include "ypinternal.h" +#ifdef YPMATCHCACHE static bool_t ypmatch_add(const char *, const char *, u_int, char *, u_int); static bool_t ypmatch_find(const char *, const char *, u_int, char **, u_int *); @@ -148,6 +140,7 @@ ypmatch_find(const char *map, const char *key, u_int keylen, char **val, } return 0; } +#endif int yp_match(const char *indomain, const char *inmap, const char *inkey, diff --git a/lib/libc/yp/ypprot_err.c b/lib/libc/yp/ypprot_err.c index cf8db60212e..d5a7f63ca2f 100644 --- a/lib/libc/yp/ypprot_err.c +++ b/lib/libc/yp/ypprot_err.c @@ -1,3 +1,4 @@ +/* $OpenBSD: ypprot_err.c,v 1.7 2005/08/05 13:02:16 espie Exp $ */ /* * Copyright (c) 1992, 1993 Theo de Raadt <deraadt@theos.com> * All rights reserved. @@ -24,20 +25,8 @@ * SUCH DAMAGE. */ -#if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: ypprot_err.c,v 1.6 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> |