summary refs log tree commit diff
path: root/include
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 /include
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.
Diffstat (limited to 'include')
-rw-r--r--include/signal.h2
1 files changed, 2 insertions, 0 deletions
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,