1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
* 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

@ -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);