diff options
Diffstat (limited to 'libc/inet')
-rw-r--r-- | libc/inet/rpc/rcmd.c | 2 | ||||
-rw-r--r-- | libc/inet/rpc/xdr_rec.c | 2 | ||||
-rw-r--r-- | libc/inet/rpc/xdr_stdio.c | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/libc/inet/rpc/rcmd.c b/libc/inet/rpc/rcmd.c index 36e942f9e..d43bd0663 100644 --- a/libc/inet/rpc/rcmd.c +++ b/libc/inet/rpc/rcmd.c @@ -169,7 +169,7 @@ int rcmd(ahost, rport, locuser, remuser, cmd, fd2p) sigsetmask(oldmask); /* sigsetmask */ return -1; } - fcntl(s, F_SETOWN, pid); /* __fcntl */ + __fcntl(s, F_SETOWN, pid); /* __fcntl */ sin.sin_family = hp->h_addrtype; bcopy(hp->h_addr_list[0], &sin.sin_addr, MIN (sizeof (sin.sin_addr), hp->h_length)); diff --git a/libc/inet/rpc/xdr_rec.c b/libc/inet/rpc/xdr_rec.c index a8d95e162..a19438489 100644 --- a/libc/inet/rpc/xdr_rec.c +++ b/libc/inet/rpc/xdr_rec.c @@ -317,7 +317,7 @@ xdrrec_getpos (const XDR *xdrs) RECSTREAM *rstrm = (RECSTREAM *) xdrs->x_private; long pos; - pos = lseek ((int) (long) rstrm->tcp_handle, (long) 0, 1); + pos = __lseek ((int) (long) rstrm->tcp_handle, (long) 0, 1); if (pos != -1) switch (xdrs->x_op) { diff --git a/libc/inet/rpc/xdr_stdio.c b/libc/inet/rpc/xdr_stdio.c index bd9ee4f1b..fe2a53dd0 100644 --- a/libc/inet/rpc/xdr_stdio.c +++ b/libc/inet/rpc/xdr_stdio.c @@ -39,6 +39,8 @@ #define fread __fread #define fwrite __fwrite +#define fseek __fseek +#define fflush __fflush #include <rpc/types.h> #include <stdio.h> |