glibc/signal
Joseph Myers a473381208 Only declare __sigpause in installed signal.h when necessary.
This patch makes the installed signal.h declare __sigpause only when
necessary (when a macro definition of sigpause makes use of
__sigpause), rather than unconditionally.  This fixes false positives
in the linknamespace tests by making it visible to those tests that no
use of ISO C functionality will actually bring in the definition of
__sigpause and so bring in the other symbols defined in the same
object.  There is no bug filed in Bugzilla because this is fixing
false positives rather than any user-visible bug.

Tested for x86_64 (testsuite, and that installed stripped shared
libraries are unchanged by this patch).

	* signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
	!__GNUC__].
	* include/signal.h (__sigpause): Move declaration above call to
	libc_hidden_proto.
	* conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
	variable.
	(test-xfail-ISO99/signal.h/linknamespace): Likewise.
	(test-xfail-ISO11/signal.h/linknamespace): Likewise.
2014-11-14 18:35:42 +00:00
..
sys
Makefile Consistently include Makeconfig after defining subdir. 2014-02-26 23:12:03 +00:00
Versions Update. 2004-05-04 16:47:14 +00:00
allocrtsig.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
kill.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
killpg.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
raise.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigaction.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigaddset.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigaltstack.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigandset.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigblock.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigdelset.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigempty.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigfillset.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
siggetmask.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sighold.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigignore.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigintr.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigisempty.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigismem.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
signal.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
signal.h Only declare __sigpause in installed signal.h when necessary. 2014-11-14 18:35:42 +00:00
sigorset.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigpause.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigpending.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigprocmask.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigqueue.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigrelse.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigreturn.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigset.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigsetmask.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigsetops.c Update. 1998-10-08 16:12:50 +00:00
sigsetops.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigstack.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigsuspend.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigtimedwait.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigvec.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigwait.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sigwaitinfo.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
sysv_signal.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-raise.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-signal.c * malloc/memusagestat.c (main): Use return instead of exit to 2000-12-31 10:52:32 +00:00
tst-sigset.c 2003-03-31 Roland McGrath <roland@redhat.com> 2003-04-01 06:49:23 +00:00
tst-sigset2.c [BZ #1951] 2006-04-23 19:05:33 +00:00
tst-sigsimple.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00