From 7b57bfe5988e476ea40934457dfd1c8a231e2391 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 16 Apr 2011 21:59:36 -0400 Subject: Obsolete RPC implementation in libc. --- sunrpc/xdr_mem.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sunrpc/xdr_mem.c') diff --git a/sunrpc/xdr_mem.c b/sunrpc/xdr_mem.c index c4f471540b..093a718739 100644 --- a/sunrpc/xdr_mem.c +++ b/sunrpc/xdr_mem.c @@ -78,7 +78,11 @@ xdrmem_create (XDR *xdrs, const caddr_t addr, u_int size, enum xdr_op op) xdrs->x_private = xdrs->x_base = addr; xdrs->x_handy = size; } -INTDEF(xdrmem_create) +#ifdef EXPORT_RPC_SYMBOLS +libc_hidden_def (xdrmem_create) +#else +libc_hidden_nolink (xdrmem_create, GLIBC_2_0) +#endif /* * Nothing needs to be done for the memory case. The argument is clearly -- cgit 1.4.1