aboutsummaryrefslogtreecommitdiff
path: root/inet
diff options
context:
space:
mode:
Diffstat (limited to 'inet')
-rw-r--r--inet/rcmd.c4
-rw-r--r--inet/ruserpass.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/inet/rcmd.c b/inet/rcmd.c
index fe77e99..08d9337 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;
diff --git a/inet/ruserpass.c b/inet/ruserpass.c
index 020733f..e0f1a52 100644
--- a/inet/ruserpass.c
+++ b/inet/ruserpass.c
@@ -286,6 +286,7 @@ bad:
(void) fclose(cfile);
return (-1);
}
+libc_hidden_def (ruserpass)
static int
token()