From c4d767f7f35efa43f072d494185f1cea4a7bd871 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Sun, 13 Aug 2017 21:11:06 +0200 Subject: [PATCH] __libc_rpc_getport: Remove internal_function attribute This function has a hidden alias and is therefore expected to be called across DSO boundaries. --- ChangeLog | 6 ++++++ include/rpc/pmap_clnt.h | 3 +-- sunrpc/pm_getport.c | 1 - 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index d446b10506..408c6f63bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2017-08-13 Florian Weimer + + * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove + internal_function. + * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise. + 2017-08-13 Florian Weimer * grp/grp-merge.h (__copy_grp, __merge_grp): Remove diff --git a/include/rpc/pmap_clnt.h b/include/rpc/pmap_clnt.h index ec907c28cc..7928f0b368 100644 --- a/include/rpc/pmap_clnt.h +++ b/include/rpc/pmap_clnt.h @@ -12,8 +12,7 @@ extern int __get_socket (struct sockaddr_in *saddr) attribute_hidden internal_function; extern u_short __libc_rpc_getport (struct sockaddr_in *address, u_long program, u_long version, u_int protocol, - time_t timeout_sec, time_t tottimeout_sec) - internal_function; + time_t timeout_sec, time_t tottimeout_sec); libc_hidden_proto (__libc_rpc_getport) libc_hidden_proto (clnt_broadcast) diff --git a/sunrpc/pm_getport.c b/sunrpc/pm_getport.c index 54d2e439d2..a9992a38ea 100644 --- a/sunrpc/pm_getport.c +++ b/sunrpc/pm_getport.c @@ -82,7 +82,6 @@ __get_socket (struct sockaddr_in *saddr) * Returns 0 if no map exists. */ u_short -internal_function __libc_rpc_getport (struct sockaddr_in *address, u_long program, u_long version, u_int protocol, time_t timeout_sec, time_t tottimeout_sec)