mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
* 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.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user