Fix scanf15.c testsuite build on sparc.

* include/signal.h (__sigreturn): Guard with __USE_MISC.
This commit is contained in:
David S. Miller 2015-01-13 11:28:17 -08:00
parent 1c6e6f2315
commit 54dc546139
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2015-01-13 David S. Miller <davem@davemloft.net>
* include/signal.h (__sigreturn): Guard with __USE_MISC.
2015-01-13 Roland McGrath <roland@hack.frob.com>
* login/logout.c (logout): Use memset rather than bzero.

View File

@ -41,7 +41,9 @@ extern int __sigtimedwait (const sigset_t *__set, siginfo_t *__info,
libc_hidden_proto (__sigtimedwait)
extern int __sigqueue (__pid_t __pid, int __sig,
const union sigval __val);
#ifdef __USE_MISC
extern int __sigreturn (struct sigcontext *__scp);
#endif
extern int __sigaltstack (const struct sigaltstack *__ss,
struct sigaltstack *__oss);
extern int __libc_sigaction (int sig, const struct sigaction *act,