diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-05-08 00:57:57 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:44 +0200 |
commit | 5aa7aa7fa7ec2a0fe567ac0b2595b46add6f3594 (patch) | |
tree | 2d0d0277a1b517151dc4625983b23b851e129cb2 /libc/inet/rpc | |
parent | 52029220899bc6d566541de1e3da8cd21327e4a5 (diff) |
signal: remove sigblock, siggetmask and sigsetmask
rcmd.c uses sigblock and sigsetmask, make the function static and include them directly until
a rewrite is done.
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/inet/rpc')
-rw-r--r-- | libc/inet/rpc/rcmd.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libc/inet/rpc/rcmd.c b/libc/inet/rpc/rcmd.c index ebeeb5b5a..fdfaa0908 100644 --- a/libc/inet/rpc/rcmd.c +++ b/libc/inet/rpc/rcmd.c @@ -86,6 +86,11 @@ static char sccsid[] = "@(#)rcmd.c 8.3 (Berkeley) 3/26/94"; #include <sys/uio.h> #include <bits/uClibc_alloc.h> +/* sigsetmask and sigblock are not provided anymore, until this file is corrected, + * include the sources */ +#include "../../signal/sigblock.c" +#include "../../signal/sigsetmask.c" + /* some forward declarations */ static int __ivaliduser2(FILE *hostf, u_int32_t raddr, @@ -145,7 +150,7 @@ int rcmd(char **ahost, u_short rport, const char *locuser, const char *remuser, pfd[1].events = POLLIN; *ahost = hp->h_name; - oldmask = sigblock(sigmask(SIGURG)); /* __sigblock */ + oldmask = sigblock(__sigmask(SIGURG)); /* sigblock */ for (timo = 1, lport = IPPORT_RESERVED - 1;;) { s = rresvport(&lport); if (s < 0) { |