mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Obsolete RPC implementation in libc.
This commit is contained in:
@ -70,7 +70,7 @@ xdr_array (xdrs, addrp, sizep, maxsize, elsize, elproc)
|
||||
bool_t stat = TRUE;
|
||||
|
||||
/* like strings, arrays are really counted arrays */
|
||||
if (!INTUSE(xdr_u_int) (xdrs, sizep))
|
||||
if (!xdr_u_int (xdrs, sizep))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
@ -127,7 +127,11 @@ xdr_array (xdrs, addrp, sizep, maxsize, elsize, elproc)
|
||||
}
|
||||
return stat;
|
||||
}
|
||||
INTDEF(xdr_array)
|
||||
#ifdef EXPORT_RPC_SYMBOLS
|
||||
libc_hidden_def (xdr_array)
|
||||
#else
|
||||
libc_hidden_nolink (xdr_array, GLIBC_2_0)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* xdr_vector():
|
||||
@ -161,3 +165,4 @@ xdr_vector (xdrs, basep, nelem, elemsize, xdr_elem)
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
libc_hidden_nolink (xdr_vector, GLIBC_2_0)
|
||||
|
Reference in New Issue
Block a user