summaryrefslogtreecommitdiffstats
path: root/libc/inet/rpc/xdr_array.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-08 04:51:28 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-08 04:51:28 +0000
commita920808b219ce74ae7e5e3f52bcbfe67884c5087 (patch)
tree0fcf572a9963925f7d9fc209e2c5694de0e43fcd /libc/inet/rpc/xdr_array.c
parentc5ad60615407d6f54807ed52656d962d1dcbbe3e (diff)
downloaduClibc-alpine-a920808b219ce74ae7e5e3f52bcbfe67884c5087.tar.bz2
uClibc-alpine-a920808b219ce74ae7e5e3f52bcbfe67884c5087.tar.xz
Merge from trunk.
Diffstat (limited to 'libc/inet/rpc/xdr_array.c')
-rw-r--r--libc/inet/rpc/xdr_array.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/libc/inet/rpc/xdr_array.c b/libc/inet/rpc/xdr_array.c
index 584174e22..a4e50fa8d 100644
--- a/libc/inet/rpc/xdr_array.c
+++ b/libc/inet/rpc/xdr_array.c
@@ -40,6 +40,8 @@ static char sccsid[] = "@(#)xdr_array.c 1.10 87/08/11 Copyr 1984 Sun Micro";
* arrays. See xdr.h for more info on the interface to xdr.
*/
+#define xdr_u_int __xdr_u_int
+
#define __FORCE_GLIBC
#define _GNU_SOURCE
#include <features.h>
@@ -64,14 +66,8 @@ static char sccsid[] = "@(#)xdr_array.c 1.10 87/08/11 Copyr 1984 Sun Micro";
* elsize is the size (in bytes) of each element, and elproc is the
* xdr procedure to call to handle each element of the array.
*/
-bool_t
-xdr_array (xdrs, addrp, sizep, maxsize, elsize, elproc)
- XDR *xdrs;
- caddr_t *addrp; /* array pointer */
- u_int *sizep; /* number of elements */
- u_int maxsize; /* max numberof elements */
- u_int elsize; /* size in bytes of each element */
- xdrproc_t elproc; /* xdr routine to handle each element */
+bool_t attribute_hidden
+__xdr_array (XDR *xdrs, caddr_t *addrp, u_int *sizep, u_int maxsize, u_int elsize, xdrproc_t elproc)
{
u_int i;
caddr_t target = *addrp;
@@ -145,6 +141,7 @@ xdr_array (xdrs, addrp, sizep, maxsize, elsize, elproc)
}
return stat;
}
+strong_alias(__xdr_array,xdr_array)
/*
* xdr_vector():