__libc_rpc_getport: Remove internal_function attribute

This function has a hidden alias and is therefore expected to be
called across DSO boundaries.
This commit is contained in:
Florian Weimer 2017-08-13 21:11:06 +02:00
parent b22974092d
commit c4d767f7f3
3 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2017-08-13 Florian Weimer <fweimer@redhat.com>
* include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
internal_function.
* sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
2017-08-13 Florian Weimer <fweimer@redhat.com>
* grp/grp-merge.h (__copy_grp, __merge_grp): Remove

View File

@ -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)

View File

@ -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)