diff options
author | Roland McGrath <roland@gnu.org> | 2002-08-06 05:10:45 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-08-06 05:10:45 +0000 |
commit | e2ec9b4dc1e1a39b59c0a7539ad1ddc66582e8be (patch) | |
tree | 11a2f090a9a079435c6f771106ed2bc2fe58e29f /inet | |
parent | a585ba226b0adfc310a49bb5045c3a3096da3da3 (diff) | |
download | glibc-e2ec9b4dc1e1a39b59c0a7539ad1ddc66582e8be.zip glibc-e2ec9b4dc1e1a39b59c0a7539ad1ddc66582e8be.tar.gz glibc-e2ec9b4dc1e1a39b59c0a7539ad1ddc66582e8be.tar.bz2 |
* include/stdlib.h: Use libc_hidden_proto for wctomb.
* stdlib/wctomb.c: Add libc_hidden_def.
* include/netdb.h: Use libc_hidden_proto for innetgr, rcmd_af,
rexec_af, rresvport_af, ruserok_af, iruserok_af, ruserpass, hstrerror.
* resolv/herror.c: Likewise.
* inet/rcmd.c: Add libc_hidden_def.
* inet/ruserpass.c: Likewise.
* inet/getnetgrent_r.c: Likewise.
* include/rpc/auth.h: Use libc_hidden_proto for getnetname,
netname2user, host2netname, user2netname.
* sunrpc/netname.c: Add libc_hidden_def.
* include/rpc/svc.h: Use libc_hidden_proto for svc_register,
svc_unregister, remove *_internal decls. Use libc_hidden_proto
for svcerr_auth, svcerr_noprog, svcerr_progvers.
* sunrpc/svc.c (svc_register, svc_unregister): Change INTDEF to
libc_hidden_def.
(svcerr_auth, svcerr_noprog, svcerr_progvers): Add libc_hidden_def.
* sunrpc/svc_simple.c (registerrpc): Nix INTUSE for svc_register.
Diffstat (limited to 'inet')
-rw-r--r-- | inet/rcmd.c | 4 | ||||
-rw-r--r-- | inet/ruserpass.c | 1 |
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() |