summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/pmap_clnt.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-03 00:34:49 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-03 00:34:49 +0000
commitc885bf5cf94a12202f849477a845d728cbd12889 (patch)
tree106e36d57ea684166ebde05a8d4be54664e0e6ce /libc/inet/rpc/pmap_clnt.c
parentca3067b8cec6e7ffd600c92510197df5aedd8606 (diff)
More hiding, including __mempcpy
Diffstat (limited to 'libc/inet/rpc/pmap_clnt.c')
-rw-r--r--libc/inet/rpc/pmap_clnt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/inet/rpc/pmap_clnt.c b/libc/inet/rpc/pmap_clnt.c
index 5bbc81564..39d846f3b 100644
--- a/libc/inet/rpc/pmap_clnt.c
+++ b/libc/inet/rpc/pmap_clnt.c
@@ -112,8 +112,8 @@ static const struct timeval tottimeout = {60, 0};
* Set a mapping between program,version and port.
* Calls the pmap service remotely to do the mapping.
*/
-bool_t
-pmap_set (u_long program, u_long version, int protocol, u_short port)
+bool_t attribute_hidden
+__pmap_set (u_long program, u_long version, int protocol, u_short port)
{
struct sockaddr_in myaddress;
int socket = -1;
@@ -142,6 +142,7 @@ pmap_set (u_long program, u_long version, int protocol, u_short port)
/* (void)__close(socket); CLNT_DESTROY closes it */
return rslt;
}
+strong_alias(__pmap_set,pmap_set)
/*
* Remove the mapping between program,version and port.