about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2015-01-13 11:28:17 -0800
committerDavid S. Miller <davem@davemloft.net>2015-01-13 11:28:17 -0800
commit54dc546139a42f77bff190be1e44bfd4479a8367 (patch)
treeba2797e3d0c49d1b8d02327c36b05fabe4c35453
parent1c6e6f2315b343cbac94c2dd798a6ebb80489a12 (diff)
downloadglibc-54dc546139a42f77bff190be1e44bfd4479a8367.tar.gz
glibc-54dc546139a42f77bff190be1e44bfd4479a8367.tar.xz
glibc-54dc546139a42f77bff190be1e44bfd4479a8367.zip
Fix scanf15.c testsuite build on sparc.
	* include/signal.h (__sigreturn): Guard with __USE_MISC.
-rw-r--r--ChangeLog4
-rw-r--r--include/signal.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2e27ba7af9..b2b11636b2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/include/signal.h b/include/signal.h
index f631a62043..b69de03ff6 100644
--- a/include/signal.h
+++ b/include/signal.h
@@ -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,