From 78e02c469828fcfb6a5cf73dbcceb4f60fb6fafd Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Wed, 8 Jul 2020 07:58:51 +0200 Subject: sunrpc: Remove hidden aliases for global data symbols (bug 26210) It is generally not possible to add hidden aliases for global data symbols: If the main executable contains a copy relocation against the symbol, the hidden aliases keep pointing to the glibc-internal copy of the symbol, instead of the symbol actually used by the application. Fixes commit 89aacb513eb77549a29df2638913a0f8178cf3f5 ("sunrpc: Remove stray exports without --enable-obsolete-rpc [BZ #23166]"). Reviewed-by: Carlos O'Donell --- include/rpc/clnt.h | 1 - include/rpc/svc.h | 4 ---- 2 files changed, 5 deletions(-) (limited to 'include') diff --git a/include/rpc/clnt.h b/include/rpc/clnt.h index 80be0a9cec..a397023a93 100644 --- a/include/rpc/clnt.h +++ b/include/rpc/clnt.h @@ -28,7 +28,6 @@ libc_hidden_proto (clntudp_create) libc_hidden_proto (get_myaddress) libc_hidden_proto (clntunix_create) libc_hidden_proto (__libc_clntudp_bufcreate) -libc_hidden_proto (rpc_createerr) # endif /* !_ISOMAC */ #endif diff --git a/include/rpc/svc.h b/include/rpc/svc.h index 40ba2546a9..465bf4427d 100644 --- a/include/rpc/svc.h +++ b/include/rpc/svc.h @@ -3,10 +3,6 @@ # ifndef _ISOMAC -libc_hidden_proto (svc_pollfd) -libc_hidden_proto (svc_max_pollfd) -libc_hidden_proto (svc_fdset) - libc_hidden_proto (xprt_register) libc_hidden_proto (xprt_unregister) libc_hidden_proto (svc_register) -- cgit v1.2.3