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/svc_udp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sunrpc/svc_udp.c') diff --git a/sunrpc/svc_udp.c b/sunrpc/svc_udp.c index 04c8407e64..6c4d75a814 100644 --- a/sunrpc/svc_udp.c +++ b/sunrpc/svc_udp.c @@ -184,7 +184,7 @@ svcudp_create: xp_pad is too small for IP_PKTINFO\n")); #ifdef EXPORT_RPC_SYMBOLS libc_hidden_def (svcudp_bufcreate) #else -libc_hidden_nolink (svcudp_bufcreate, GLIBC_2_0) +libc_hidden_nolink_sunrpc (svcudp_bufcreate, GLIBC_2_0) #endif SVCXPRT * @@ -196,7 +196,7 @@ svcudp_create (sock) #ifdef EXPORT_RPC_SYMBOLS libc_hidden_def (svcudp_create) #else -libc_hidden_nolink (svcudp_create, GLIBC_2_0) +libc_hidden_nolink_sunrpc (svcudp_create, GLIBC_2_0) #endif static enum xprt_stat @@ -500,7 +500,7 @@ svcudp_enablecache (SVCXPRT *transp, u_long size) su->su_cache = (char *) uc; return 1; } -libc_hidden_nolink (svcudp_enablecache, GLIBC_2_0) +libc_hidden_nolink_sunrpc (svcudp_enablecache, GLIBC_2_0) /* -- cgit v1.2.3