summaryrefslogtreecommitdiff
path: root/libc/inet/rpc/rcmd.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-16 01:05:56 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-16 01:05:56 +0000
commit6a6ae6e1a26f32fd896b0a7b740129161bfb008b (patch)
tree818a08e98cc3cd7711fd077ea68c3c1a9d740f37 /libc/inet/rpc/rcmd.c
parenta1915d4502e23cc0c30e1c80a31971e71e7340a5 (diff)
Convert some users and get rid of __rpc_thread_createerr jump reloc, this was indeed a badly chosen name
Diffstat (limited to 'libc/inet/rpc/rcmd.c')
-rw-r--r--libc/inet/rpc/rcmd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/inet/rpc/rcmd.c b/libc/inet/rpc/rcmd.c
index d43bd0663..b3f2a198c 100644
--- a/libc/inet/rpc/rcmd.c
+++ b/libc/inet/rpc/rcmd.c
@@ -81,6 +81,7 @@ static char sccsid[] = "@(#)rcmd.c 8.3 (Berkeley) 3/26/94";
extern int __rresvport(int *alport) attribute_hidden;
+extern int __getc_unlocked (FILE *__stream) attribute_hidden;
/* some forward declarations */
static int __ivaliduser2(FILE *hostf, u_int32_t raddr,
@@ -664,10 +665,10 @@ __ivaliduser2(hostf, raddr, luser, ruser, rhost)
/* Skip lines that are too long. */
if (__strchr (p, '\n') == NULL) {
- int ch = getc_unlocked (hostf);
+ int ch = __getc_unlocked (hostf);
while (ch != '\n' && ch != EOF)
- ch = getc_unlocked (hostf);
+ ch = __getc_unlocked (hostf);
continue;
}