aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/pm_getport.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2012-05-10 20:16:53 +0200
committerAndreas Jaeger <aj@suse.de>2012-05-10 20:19:53 +0200
commit021db4be6f1f4189f66feee066a495d49e92b93e (patch)
tree38d877e5dcba27bb3495cc840bc14b1a3547a076 /sunrpc/pm_getport.c
parentb5c086a2814b45e0b2ab678922fcc66c7351fece (diff)
downloadglibc-021db4be6f1f4189f66feee066a495d49e92b93e.tar
glibc-021db4be6f1f4189f66feee066a495d49e92b93e.tar.gz
glibc-021db4be6f1f4189f66feee066a495d49e92b93e.tar.bz2
glibc-021db4be6f1f4189f66feee066a495d49e92b93e.zip
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.
Diffstat (limited to 'sunrpc/pm_getport.c')
-rw-r--r--sunrpc/pm_getport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sunrpc/pm_getport.c b/sunrpc/pm_getport.c
index 58974a5661..f10f87250d 100644
--- a/sunrpc/pm_getport.c
+++ b/sunrpc/pm_getport.c
@@ -142,7 +142,7 @@ __libc_rpc_getport (address, program, version, protocol, timeout_sec,
#ifdef EXPORT_RPC_SYMBOLS
libc_hidden_def (__libc_rpc_getport)
#else
-libc_hidden_nolink (__libc_rpc_getport, GLIBC_PRIVATE)
+libc_hidden_nolink_sunrpc (__libc_rpc_getport, GLIBC_PRIVATE)
#endif
@@ -160,4 +160,4 @@ pmap_getport (address, program, version, protocol)
{
return __libc_rpc_getport (address, program, version, protocol, 5, 60);
}
-libc_hidden_nolink (pmap_getport, GLIBC_2_0)
+libc_hidden_nolink_sunrpc (pmap_getport, GLIBC_2_0)