summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
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)