diff options
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 |
commit | a920808b219ce74ae7e5e3f52bcbfe67884c5087 (patch) | |
tree | 0fcf572a9963925f7d9fc209e2c5694de0e43fcd /libc/inet/rpc/xdr_reference.c | |
parent | c5ad60615407d6f54807ed52656d962d1dcbbe3e (diff) | |
download | uClibc-alpine-a920808b219ce74ae7e5e3f52bcbfe67884c5087.tar.bz2 uClibc-alpine-a920808b219ce74ae7e5e3f52bcbfe67884c5087.tar.xz |
Merge from trunk.
Diffstat (limited to 'libc/inet/rpc/xdr_reference.c')
-rw-r--r-- | libc/inet/rpc/xdr_reference.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/libc/inet/rpc/xdr_reference.c b/libc/inet/rpc/xdr_reference.c index 177c25059..478c8e906 100644 --- a/libc/inet/rpc/xdr_reference.c +++ b/libc/inet/rpc/xdr_reference.c @@ -40,6 +40,8 @@ static char sccsid[] = "@(#)xdr_reference.c 1.11 87/08/11 SMI"; * "pointers". See xdr.h for more info on the interface to xdr. */ +#define xdr_bool __xdr_bool + #define __FORCE_GLIBC #define _GNU_SOURCE #include <features.h> @@ -66,12 +68,8 @@ static char sccsid[] = "@(#)xdr_reference.c 1.11 87/08/11 SMI"; * size is the size of the referneced structure. * proc is the routine to handle the referenced structure. */ -bool_t -xdr_reference (xdrs, pp, size, proc) - XDR *xdrs; - caddr_t *pp; /* the pointer to work on */ - u_int size; /* size of the object pointed to */ - xdrproc_t proc; /* xdr routine to handle the object */ +bool_t attribute_hidden +__xdr_reference (XDR *xdrs, caddr_t *pp, u_int size, xdrproc_t proc) { caddr_t loc = *pp; bool_t stat; @@ -110,7 +108,7 @@ xdr_reference (xdrs, pp, size, proc) } return stat; } - +strong_alias(__xdr_reference,xdr_reference) /* * xdr_pointer(): @@ -151,5 +149,5 @@ xdr_pointer (xdrs, objpp, obj_size, xdr_obj) *objpp = NULL; return TRUE; } - return xdr_reference (xdrs, objpp, obj_size, xdr_obj); + return __xdr_reference (xdrs, objpp, obj_size, xdr_obj); } |