Skip to content

Commit

Permalink
Fix scanf15.c testsuite build on sparc.
Browse files Browse the repository at this point in the history
	* include/signal.h (__sigreturn): Guard with __USE_MISC.
  • Loading branch information
David S. Miller committed Jan 13, 2015
1 parent 1c6e6f2 commit 54dc546
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 2 additions & 0 deletions include/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 54dc546

Please sign in to comment.