aboutsummaryrefslogtreecommitdiff
path: root/inet/rcmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/rcmd.c')
-rw-r--r--inet/rcmd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/inet/rcmd.c b/inet/rcmd.c
index fe77e997fc..08d9337431 100644
--- a/inet/rcmd.c
+++ b/inet/rcmd.c
@@ -99,6 +99,8 @@ int iruserok_af (const void *raddr, int superuser, const char *ruser,
int iruserok (u_int32_t raddr, int superuser, const char *ruser,
const char *luser);
+libc_hidden_proto (iruserok_af)
+
static char ahostbuf[NI_MAXHOST];
int
@@ -662,6 +664,8 @@ iruserok_af (raddr, superuser, ruser, luser, af)
}
return ruserok_sa ((struct sockaddr *)&ra, ralen, superuser, ruser, luser);
}
+libc_hidden_def (iruserok_af)
+
int
iruserok (raddr, superuser, ruser, luser)
u_int32_t raddr;