diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-23 14:42:02 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-23 14:42:02 +0000 |
commit | ba9a21b2fa45a29a9e3dff6e0b199d8da5059811 (patch) | |
tree | 3185ae6223c0143df31281f9584cce9a93cd0440 /libc/signal | |
parent | 1129cd16b42185f258fbe8d53a0fb11f1d530f42 (diff) | |
download | uClibc-alpine-ba9a21b2fa45a29a9e3dff6e0b199d8da5059811.tar.bz2 uClibc-alpine-ba9a21b2fa45a29a9e3dff6e0b199d8da5059811.tar.xz |
Get rid of nested warnings
Diffstat (limited to 'libc/signal')
-rw-r--r-- | libc/signal/sigintr.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/signal/sigintr.c b/libc/signal/sigintr.c index 022d185bc..a977e22de 100644 --- a/libc/signal/sigintr.c +++ b/libc/signal/sigintr.c @@ -25,13 +25,16 @@ libc_hidden_proto(sigaction) /* If INTERRUPT is nonzero, make signal SIG interrupt system calls (causing them to fail with EINTR); if INTERRUPT is zero, make system calls be restarted after signal SIG. */ +#ifdef SA_RESTART +extern sigset_t _sigintr attribute_hidden; /* Defined in signal.c. */ +#endif + int siginterrupt (sig, interrupt) int sig; int interrupt; { #ifdef SA_RESTART - extern sigset_t _sigintr attribute_hidden; /* Defined in signal.c. */ struct sigaction action; if (sigaction (sig, (struct sigaction *) NULL, &action) < 0) |