From 7b57bfe5988e476ea40934457dfd1c8a231e2391 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 16 Apr 2011 21:59:36 -0400 Subject: Obsolete RPC implementation in libc. --- sunrpc/authuxprot.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'sunrpc/authuxprot.c') diff --git a/sunrpc/authuxprot.c b/sunrpc/authuxprot.c index 74db8a24b1..64da1799e0 100644 --- a/sunrpc/authuxprot.c +++ b/sunrpc/authuxprot.c @@ -45,22 +45,22 @@ bool_t xdr_authunix_parms (XDR * xdrs, struct authunix_parms *p) { - if (INTUSE(xdr_u_long) (xdrs, &(p->aup_time)) - && INTUSE(xdr_string) (xdrs, &(p->aup_machname), MAX_MACHINE_NAME) + if (xdr_u_long (xdrs, &(p->aup_time)) + && xdr_string (xdrs, &(p->aup_machname), MAX_MACHINE_NAME) && (sizeof (uid_t) == sizeof (short int) - ? INTUSE(xdr_u_short) (xdrs, (u_short *) & (p->aup_uid)) - : INTUSE(xdr_u_int) (xdrs, (u_int *) & (p->aup_uid))) + ? xdr_u_short (xdrs, (u_short *) & (p->aup_uid)) + : xdr_u_int (xdrs, (u_int *) & (p->aup_uid))) && (sizeof (gid_t) == sizeof (short int) - ? INTUSE(xdr_u_short) (xdrs, (u_short *) & (p->aup_gid)) - : INTUSE(xdr_u_int) (xdrs, (u_int *) & (p->aup_gid))) - && INTUSE(xdr_array) (xdrs, (caddr_t *) & (p->aup_gids), - & (p->aup_len), NGRPS, sizeof (gid_t), - (sizeof (gid_t) == sizeof (short int) - ? (xdrproc_t) INTUSE(xdr_u_short) - : (xdrproc_t) INTUSE(xdr_u_int)))) + ? xdr_u_short (xdrs, (u_short *) & (p->aup_gid)) + : xdr_u_int (xdrs, (u_int *) & (p->aup_gid))) + && xdr_array (xdrs, (caddr_t *) & (p->aup_gids), + & (p->aup_len), NGRPS, sizeof (gid_t), + (sizeof (gid_t) == sizeof (short int) + ? (xdrproc_t) xdr_u_short + : (xdrproc_t) xdr_u_int))) { return TRUE; } return FALSE; } -INTDEF(xdr_authunix_parms) +libc_hidden_nolink (xdr_authunix_parms, GLIBC_2_0) -- cgit 1.4.1