about summary refs log tree commit diff
path: root/include/sys
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-11-13 17:57:00 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-12-19 16:11:09 -0300
commit848791557bc4dbf783b03f2b8af77f71c909ed57 (patch)
tree19e9be29ab32a7bc648506bef0dd7020e5e49522 /include/sys
parent9b2cf9482a9397c4711c9e7f42f8d718b6306bdc (diff)
downloadglibc-848791557bc4dbf783b03f2b8af77f71c909ed57.tar.gz
glibc-848791557bc4dbf783b03f2b8af77f71c909ed57.tar.xz
glibc-848791557bc4dbf783b03f2b8af77f71c909ed57.zip
Implement waitpid in terms of wait4
This also consolidate all waitpid implementations.

Checked on x86_64-linux-gnu.
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/wait.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/wait.h b/include/sys/wait.h
index 5ac9cd6ca6..39a327f6b2 100644
--- a/include/sys/wait.h
+++ b/include/sys/wait.h
@@ -15,5 +15,6 @@ extern __pid_t __wait3 (int *__stat_loc,
 extern __pid_t __wait4 (__pid_t __pid, int *__stat_loc,
 			int __options, struct rusage *__usage)
 			attribute_hidden;
+libc_hidden_proto (__wait4);
 #endif
 #endif