diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-04 01:08:42 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-04 01:08:42 +0000 |
commit | 765696aac59b7146777e4dfda0d8d35df0bb29e1 (patch) | |
tree | a1f2f8ce19de35f8030e8e388a3b962a2bff8cc7 /libc/inet/rpc/rexec.c | |
parent | 855dca36fe7aa348dc56996385fbbb77fbf3e83d (diff) |
More hiding, 300 left
Diffstat (limited to 'libc/inet/rpc/rexec.c')
-rw-r--r-- | libc/inet/rpc/rexec.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/libc/inet/rpc/rexec.c b/libc/inet/rpc/rexec.c index 00e68ff6b..b93cf7644 100644 --- a/libc/inet/rpc/rexec.c +++ b/libc/inet/rpc/rexec.c @@ -47,15 +47,10 @@ extern int __libc_sa_len (sa_family_t __af) __THROW attribute_hidden; int rexecoptions; char ahostbuf[NI_MAXHOST]; -extern int ruserpass(const char *host, const char **aname, const char **apass); +extern int __ruserpass(const char *host, const char **aname, const char **apass) attribute_hidden; -int -rexec_af(ahost, rport, name, pass, cmd, fd2p, af) - char **ahost; - int rport; - const char *name, *pass, *cmd; - int *fd2p; - sa_family_t af; +int attribute_hidden +__rexec_af(char **ahost, int rport, const char *name, const char *pass, const char *cmd, int *fd2p, sa_family_t af) { struct sockaddr_storage sa2, from; struct addrinfo hints, *res0; @@ -88,7 +83,7 @@ rexec_af(ahost, rport, name, pass, cmd, fd2p, af) else{ *ahost = NULL; } - ruserpass(res0->ai_canonname, &name, &pass); + __ruserpass(res0->ai_canonname, &name, &pass); retry: s = socket(res0->ai_family, res0->ai_socktype, 0); if (s < 0) { @@ -179,6 +174,7 @@ bad: freeaddrinfo(res0); return (-1); } +strong_alias(__rexec_af,rexec_af) int rexec(ahost, rport, name, pass, cmd, fd2p) @@ -187,5 +183,5 @@ rexec(ahost, rport, name, pass, cmd, fd2p) const char *name, *pass, *cmd; int *fd2p; { - return rexec_af(ahost, rport, name, pass, cmd, fd2p, AF_INET); + return __rexec_af(ahost, rport, name, pass, cmd, fd2p, AF_INET); } |