From 05e75260d6952308d7c865ff67c0e3678b7ba935 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 26 Jan 2006 22:04:19 +0000 Subject: Get rid of missing prototype warnings --- libc/inet/rpc/rcmd.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libc/inet/rpc/rcmd.c') diff --git a/libc/inet/rpc/rcmd.c b/libc/inet/rpc/rcmd.c index 1bd511d26..6fcb01738 100644 --- a/libc/inet/rpc/rcmd.c +++ b/libc/inet/rpc/rcmd.c @@ -532,6 +532,7 @@ iruserok2 (raddr, superuser, ruser, luser, rhost) } /* This is the exported version. */ +int iruserok (u_int32_t raddr, int superuser, const char * ruser, const char * luser); int iruserok (u_int32_t raddr, int superuser, const char * ruser, const char * luser) { return iruserok2 (raddr, superuser, ruser, luser, "-"); @@ -550,6 +551,8 @@ int iruserok (u_int32_t raddr, int superuser, const char * ruser, const char * l * Returns 0 if ok, -1 if not ok. */ int +__ivaliduser(FILE *hostf, u_int32_t raddr, const char *luser, const char *ruser); +int __ivaliduser(FILE *hostf, u_int32_t raddr, const char *luser, const char *ruser) { return __ivaliduser2(hostf, raddr, luser, ruser, "-"); -- cgit v1.2.3