* sysdeps/generic/sigpause.c: Define all functions as weak.
	* sysdeps/posix/sigpause.c: Likewise.
This commit is contained in:
Ulrich Drepper 2002-12-11 00:55:49 +00:00
parent 9cfd817252
commit 34a075bea3
4 changed files with 10 additions and 2 deletions

View File

@ -1,6 +1,7 @@
2002-12-10 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/sigpause.c: Define all functions as weak.
* sysdeps/generic/sigpause.c: Define all functions as weak.
* sysdeps/posix/sigpause.c: Likewise.
* elf/tst-tls7.c (do_test): Adjustments for l_tls_modid being of
type size_t.

View File

@ -1,5 +1,8 @@
2002-12-10 Ulrich Drepper <drepper@redhat.com>
* init.c (__pthread_initialize_minimal): Remove unneccesary
sigaddset call.
* Makefile (tests): We can run tst-locale2 now.
2002-12-09 Ulrich Drepper <drepper@redhat.com>

View File

@ -31,6 +31,7 @@ stub_warning (__sigpause)
libc_hidden_def (__sigpause)
int
__attribute__ ((weak))
__default_sigpause (int mask)
{
__set_errno (ENOSYS);
@ -42,7 +43,8 @@ stub_warning (sigpause)
int
__xpg_sigpause (int sig)
__attribute ((weak))
__xpg___sigpause (int sig)
{
__set_errno (ENOSYS);
return -1;

View File

@ -48,6 +48,7 @@ libc_hidden_def (__sigpause)
standards demand it. The version which is a bit more reasonable is
the BSD version. So make this the default. */
int
__attribute__ ((weak))
__default_sigpause (int mask)
{
return __sigpause (mask, 0);
@ -61,6 +62,7 @@ strong_alias (__default_sigpause, __libc_sigpause)
standards demand it. The version which is a bit more reasonable is
the BSD version. So make this the default. */
int
__attribute__ ((weak))
__xpg_sigpause (int sig)
{
return __sigpause (sig, 1);