aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/sigpause.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-11 00:55:49 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-11 00:55:49 +0000
commit34a075bea344baf8a2b1c985d5a5189b64ed0e36 (patch)
treefcaf2fefc4bc2352084ce5b3a0639417424670bd /sysdeps/generic/sigpause.c
parent9cfd817252c721e049fd26efb5c150208accc81c (diff)
downloadglibc-34a075bea344baf8a2b1c985d5a5189b64ed0e36.zip
glibc-34a075bea344baf8a2b1c985d5a5189b64ed0e36.tar.gz
glibc-34a075bea344baf8a2b1c985d5a5189b64ed0e36.tar.bz2
Update.
* sysdeps/generic/sigpause.c: Define all functions as weak. * sysdeps/posix/sigpause.c: Likewise.
Diffstat (limited to 'sysdeps/generic/sigpause.c')
-rw-r--r--sysdeps/generic/sigpause.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/generic/sigpause.c b/sysdeps/generic/sigpause.c
index 3906dbd..8f63b87 100644
--- a/sysdeps/generic/sigpause.c
+++ b/sysdeps/generic/sigpause.c
@@ -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;