From 746d0019f275acc0d3752b54e8ae1930a2f5fa3c Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 7 Dec 2005 02:42:58 +0000 Subject: No more *xdr* jump relocations --- libc/inet/rpc/rpc_callmsg.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'libc/inet/rpc/rpc_callmsg.c') diff --git a/libc/inet/rpc/rpc_callmsg.c b/libc/inet/rpc/rpc_callmsg.c index 8934eed91..6368e5920 100644 --- a/libc/inet/rpc/rpc_callmsg.c +++ b/libc/inet/rpc/rpc_callmsg.c @@ -38,6 +38,12 @@ static char sccsid[] = "@(#)rpc_callmsg.c 1.4 87/08/11 Copyr 1984 Sun Micro"; * */ +#define xdr_enum __xdr_enum +#define xdr_opaque __xdr_opaque +#define xdr_u_int __xdr_u_int +#define xdr_u_long __xdr_u_long +#define xdr_opaque_auth __xdr_opaque_auth + #define __FORCE_GLIBC #include @@ -48,8 +54,8 @@ static char sccsid[] = "@(#)rpc_callmsg.c 1.4 87/08/11 Copyr 1984 Sun Micro"; /* * XDR a call message */ -bool_t -xdr_callmsg (XDR *xdrs, struct rpc_msg *cmsg) +bool_t attribute_hidden +__xdr_callmsg (XDR *xdrs, struct rpc_msg *cmsg) { int32_t *buf; struct opaque_auth *oa; @@ -204,3 +210,4 @@ xdr_callmsg (XDR *xdrs, struct rpc_msg *cmsg) return xdr_opaque_auth (xdrs, &(cmsg->rm_call.cb_verf)); return FALSE; } +strong_alias(__xdr_callmsg,xdr_callmsg) -- cgit v1.2.3