summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/xdr_array.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-07 02:42:58 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-07 02:42:58 +0000
commit746d0019f275acc0d3752b54e8ae1930a2f5fa3c (patch)
tree1e6f3a5437edfaffb778c1d7ef0f8b4fe93adf4f /libc/inet/rpc/xdr_array.c
parent21237865a7b9e4898516678382a98163a9248592 (diff)
No more *xdr* jump relocations
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():