From 021db4be6f1f4189f66feee066a495d49e92b93e Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Thu, 10 May 2012 20:16:53 +0200 Subject: Make sunrpc code usable again New configure option --enable-obsolete-rpc makes the deprecated RPC headers and functions available at compile time as they were before version 2.14. This option will be removed at some time in the future after the TI-RPC library becomes fully sufficient for the needs of existing applications. --- sunrpc/pmap_rmt.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sunrpc/pmap_rmt.c') diff --git a/sunrpc/pmap_rmt.c b/sunrpc/pmap_rmt.c index 16f3227..fd8de85 100644 --- a/sunrpc/pmap_rmt.c +++ b/sunrpc/pmap_rmt.c @@ -104,7 +104,7 @@ pmap_rmtcall (addr, prog, vers, proc, xdrargs, argsp, xdrres, resp, tout, port_p addr->sin_port = 0; return stat; } -libc_hidden_nolink (pmap_rmtcall, GLIBC_2_0) +libc_hidden_nolink_sunrpc (pmap_rmtcall, GLIBC_2_0) /* @@ -137,7 +137,7 @@ xdr_rmtcall_args (XDR *xdrs, struct rmtcallargs *cap) } return FALSE; } -libc_hidden_nolink (xdr_rmtcall_args, GLIBC_2_0) +libc_hidden_nolink_sunrpc (xdr_rmtcall_args, GLIBC_2_0) /* * XDR remote call results @@ -160,7 +160,7 @@ xdr_rmtcallres (xdrs, crp) } return FALSE; } -libc_hidden_nolink (xdr_rmtcallres, GLIBC_2_0) +libc_hidden_nolink_sunrpc (xdr_rmtcallres, GLIBC_2_0) /* @@ -388,4 +388,4 @@ done_broad: AUTH_DESTROY (unix_auth); return stat; } -libc_hidden_nolink (clnt_broadcast, GLIBC_2_0) +libc_hidden_nolink_sunrpc (clnt_broadcast, GLIBC_2_0) -- cgit v1.1