summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-02 13:47:57 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-02 13:47:57 +0000
commit9e2b0f0f803bbec45ab0cc4e9829e2fafc467df3 (patch)
treeacee459e2db1e10b0741e5165f106b154f87418e /libc/sysdeps/linux/common
parente4e43d658d5c1be914a331010d6f113bdb8624d0 (diff)
even the hidden version of the weaks in libc (as strong in libpthread) have to be weaks
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/nanosleep.c2
-rw-r--r--libc/sysdeps/linux/common/waitpid.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/nanosleep.c b/libc/sysdeps/linux/common/nanosleep.c
index 1724540ed..76cab97f2 100644
--- a/libc/sysdeps/linux/common/nanosleep.c
+++ b/libc/sysdeps/linux/common/nanosleep.c
@@ -16,4 +16,4 @@ _syscall2(int, __libc_nanosleep, const struct timespec *, req,
struct timespec *, rem);
libc_hidden_proto(nanosleep)
weak_alias(__libc_nanosleep,nanosleep)
-libc_hidden_def(nanosleep)
+libc_hidden_weak(nanosleep)
diff --git a/libc/sysdeps/linux/common/waitpid.c b/libc/sysdeps/linux/common/waitpid.c
index c9ca97c53..729508558 100644
--- a/libc/sysdeps/linux/common/waitpid.c
+++ b/libc/sysdeps/linux/common/waitpid.c
@@ -19,4 +19,4 @@ __pid_t __libc_waitpid(__pid_t pid, int *wait_stat, int options)
}
libc_hidden_proto(waitpid)
weak_alias(__libc_waitpid,waitpid)
-libc_hidden_def(waitpid)
+libc_hidden_weak(waitpid)