From f32600208f4e9db972eb47f7d4959994b31199e6 Mon Sep 17 00:00:00 2001
From: "Peter S. Mazinger" <ps.m@gmx.net>
Date: Tue, 13 Dec 2005 21:38:57 +0000
Subject: Convert all users of earlier hiddens

---
 libc/inet/rpc/rcmd.c      | 2 +-
 libc/inet/rpc/xdr_rec.c   | 2 +-
 libc/inet/rpc/xdr_stdio.c | 2 ++
 3 files changed, 4 insertions(+), 2 deletions(-)

(limited to 'libc/inet')

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>
-- 
cgit v1.2.3