diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-26 22:04:19 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-26 22:04:19 +0000 |
commit | 05e75260d6952308d7c865ff67c0e3678b7ba935 (patch) | |
tree | ac1a5d0ab7904783917b52ffa5489e8367743ff7 /libc/inet/rpc/rcmd.c | |
parent | 2fec342738cefe71910e8e8ab8636accfc5867bc (diff) |
Get rid of missing prototype warnings
Diffstat (limited to 'libc/inet/rpc/rcmd.c')
-rw-r--r-- | libc/inet/rpc/rcmd.c | 3 |
1 files changed, 3 insertions, 0 deletions
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, "-"); |