summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/clnt_udp.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-08 21:01:23 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-08 21:01:23 +0000
commit77ccb5b1dca86acdc7c75abc5bb469da41872a20 (patch)
tree13fb13805ef3018a0a12f102f72ce2c61532fde3 /libc/inet/rpc/clnt_udp.c
parent7a3dea048d88faa3bbe1c99bcf3fdb98eabae52d (diff)
mmap/mremap/socket/rewind gone
Diffstat (limited to 'libc/inet/rpc/clnt_udp.c')
-rw-r--r--libc/inet/rpc/clnt_udp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/inet/rpc/clnt_udp.c b/libc/inet/rpc/clnt_udp.c
index 217650bf5..7855dcb2f 100644
--- a/libc/inet/rpc/clnt_udp.c
+++ b/libc/inet/rpc/clnt_udp.c
@@ -49,6 +49,9 @@ static char sccsid[] = "@(#)clnt_udp.c 1.39 87/08/11 Copyr 1984 Sun Micro";
#define _seterr_reply __seterr_reply
#define setsockopt __setsockopt
#define bindresvport __bindresvport
+#define recvfrom __recvfrom
+#define sendto __sendto
+#define recvmsg __recvmsg
#define __FORCE_GLIBC
#include <features.h>
@@ -197,7 +200,7 @@ __clntudp_bufcreate (struct sockaddr_in *raddr, u_long program, u_long version,
{
int dontblock = 1;
- *sockp = socket (AF_INET, SOCK_DGRAM, IPPROTO_UDP);
+ *sockp = __socket (AF_INET, SOCK_DGRAM, IPPROTO_UDP);
if (*sockp < 0)
{
struct rpc_createerr *ce = &get_rpc_createerr ();