summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/clnt_udp.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-07 00:50:06 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-07 00:50:06 +0000
commit21237865a7b9e4898516678382a98163a9248592 (patch)
tree26f66ceabe878c6d867046f5ae0f47e09b564493 /libc/inet/rpc/clnt_udp.c
parentdec40863edc983e258161516a57413659b7fcfb9 (diff)
Hide *clnt|pmap|svc* and some rpc. inet/rpc is full of relocs ...
Diffstat (limited to 'libc/inet/rpc/clnt_udp.c')
-rw-r--r--libc/inet/rpc/clnt_udp.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/libc/inet/rpc/clnt_udp.c b/libc/inet/rpc/clnt_udp.c
index 4aba505b2..81fe9f7bc 100644
--- a/libc/inet/rpc/clnt_udp.c
+++ b/libc/inet/rpc/clnt_udp.c
@@ -129,8 +129,8 @@ struct cu_data
* sendsz and recvsz are the maximum allowable packet sizes that can be
* sent and received.
*/
-CLIENT *
-clntudp_bufcreate (struct sockaddr_in *raddr, u_long program, u_long version,
+CLIENT attribute_hidden *
+__clntudp_bufcreate (struct sockaddr_in *raddr, u_long program, u_long version,
struct timeval wait, int *sockp, u_int sendsz,
u_int recvsz)
{
@@ -227,19 +227,16 @@ fooy:
mem_free ((caddr_t) cl, sizeof (CLIENT));
return (CLIENT *) NULL;
}
+strong_alias(__clntudp_bufcreate,clntudp_bufcreate)
-CLIENT *
-clntudp_create (raddr, program, version, wait, sockp)
- struct sockaddr_in *raddr;
- u_long program;
- u_long version;
- struct timeval wait;
- int *sockp;
+CLIENT attribute_hidden *
+__clntudp_create (struct sockaddr_in *raddr, u_long program, u_long version, struct timeval wait, int *sockp)
{
- return clntudp_bufcreate (raddr, program, version, wait, sockp,
+ return __clntudp_bufcreate (raddr, program, version, wait, sockp,
UDPMSGSIZE, UDPMSGSIZE);
}
+strong_alias(__clntudp_create,clntudp_create)
static int
is_network_up (int sock)