diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-07-20 01:35:36 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-07-20 01:35:36 +0000 |
commit | ccc5cbde0e4564f3af83fa82bd2a7d2f810b4b62 (patch) | |
tree | a0ecfcd8bfcc8424edde9c09913f5a60e7b2f2b5 /lib/libc/yp/xdr_keydat.c | |
parent | 4293f75624bc531155794d4ba9cc34d09d7b6a8b (diff) |
ansi
Diffstat (limited to 'lib/libc/yp/xdr_keydat.c')
-rw-r--r-- | lib/libc/yp/xdr_keydat.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/yp/xdr_keydat.c b/lib/libc/yp/xdr_keydat.c index b6ff3c48b8a..d81bb4bac96 100644 --- a/lib/libc/yp/xdr_keydat.c +++ b/lib/libc/yp/xdr_keydat.c @@ -30,7 +30,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: xdr_keydat.c,v 1.4 1996/08/19 08:34:58 tholo Exp $"; +static char *rcsid = "$OpenBSD: xdr_keydat.c,v 1.5 2002/07/20 01:35:34 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/param.h> @@ -46,9 +46,7 @@ static char *rcsid = "$OpenBSD: xdr_keydat.c,v 1.4 1996/08/19 08:34:58 tholo Exp #include <rpcsvc/ypclnt.h> bool_t -xdr_keydat(xdrs, objp) -XDR *xdrs; -keydat *objp; +xdr_keydat(XDR *xdrs, keydat *objp) { return xdr_bytes(xdrs, (char **)&objp->keydat_val, (u_int *)&objp->keydat_len, YPMAXRECORD); |