summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/waitpid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/waitpid.c')
-rw-r--r--libc/sysdeps/linux/common/waitpid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/waitpid.c b/libc/sysdeps/linux/common/waitpid.c
index a912e5179..fef93173b 100644
--- a/libc/sysdeps/linux/common/waitpid.c
+++ b/libc/sysdeps/linux/common/waitpid.c
@@ -4,7 +4,8 @@
#include <sys/wait.h>
#include <sys/resource.h>
-__pid_t waitpid(__pid_t pid, int *wait_stat, int options)
+__pid_t __libc_waitpid(__pid_t pid, int *wait_stat, int options)
{
return wait4(pid, wait_stat, options, NULL);
}
+weak_alias(__libc_waitpid, waitpid)