aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-08-13 21:11:06 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-13 21:11:06 +0200
commitc4d767f7f35efa43f072d494185f1cea4a7bd871 (patch)
treea06ac672e713345b827a31c47bc8f86ff487f0c6
parentb22974092d09a61fdb371b28837175bb616e78cf (diff)
downloadglibc-c4d767f7f35efa43f072d494185f1cea4a7bd871.zip
glibc-c4d767f7f35efa43f072d494185f1cea4a7bd871.tar.gz
glibc-c4d767f7f35efa43f072d494185f1cea4a7bd871.tar.bz2
__libc_rpc_getport: Remove internal_function attribute
This function has a hidden alias and is therefore expected to be called across DSO boundaries.
-rw-r--r--ChangeLog6
-rw-r--r--include/rpc/pmap_clnt.h3
-rw-r--r--sunrpc/pm_getport.c1
3 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index d446b10..408c6f6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
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
internal_function.
* grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
diff --git a/include/rpc/pmap_clnt.h b/include/rpc/pmap_clnt.h
index ec907c2..7928f0b 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 54d2e43..a9992a3 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)