diff options
Diffstat (limited to 'sunrpc/authuxprot.c')
-rw-r--r-- | sunrpc/authuxprot.c | 24 |
1 files changed, 12 insertions, 12 deletions
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) |