about summary refs log tree commit diff
path: root/sysdeps/posix/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/posix/sigpause.c
parent9cfd817252c721e049fd26efb5c150208accc81c (diff)
downloadglibc-34a075bea344baf8a2b1c985d5a5189b64ed0e36.tar.gz
glibc-34a075bea344baf8a2b1c985d5a5189b64ed0e36.tar.xz
glibc-34a075bea344baf8a2b1c985d5a5189b64ed0e36.zip
Update.
	* sysdeps/generic/sigpause.c: Define all functions as weak.
	* sysdeps/posix/sigpause.c: Likewise.
Diffstat (limited to 'sysdeps/posix/sigpause.c')
-rw-r--r--sysdeps/posix/sigpause.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/posix/sigpause.c b/sysdeps/posix/sigpause.c
index f764cba0fc..dba6912e90 100644
--- a/sysdeps/posix/sigpause.c
+++ b/sysdeps/posix/sigpause.c
@@ -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);