diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-12-06 03:33:06 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-12-06 03:33:06 +0000 |
commit | bd7bace793536f027790396d6358c14299e8595b (patch) | |
tree | dcc993baefecea2b27019336c4502e61d49b98c5 /libc/sysdeps/linux/common/waitpid.c | |
parent | 7608c85140162446c3830421eb94ae42a1bbb893 (diff) | |
download | uClibc-alpine-bd7bace793536f027790396d6358c14299e8595b.tar.bz2 uClibc-alpine-bd7bace793536f027790396d6358c14299e8595b.tar.xz |
Big merge from trunk. Stop the madness!
Diffstat (limited to 'libc/sysdeps/linux/common/waitpid.c')
-rw-r--r-- | libc/sysdeps/linux/common/waitpid.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/waitpid.c b/libc/sysdeps/linux/common/waitpid.c index fef93173b..612917fcf 100644 --- a/libc/sysdeps/linux/common/waitpid.c +++ b/libc/sysdeps/linux/common/waitpid.c @@ -1,11 +1,14 @@ +#define wait4 __wait4 + #include <stdlib.h> #include <sys/types.h> #include <sys/types.h> #include <sys/wait.h> #include <sys/resource.h> -__pid_t __libc_waitpid(__pid_t pid, int *wait_stat, int options) +__pid_t attribute_hidden __waitpid(__pid_t pid, int *wait_stat, int options) { - return wait4(pid, wait_stat, options, NULL); + return __wait4(pid, wait_stat, options, NULL); } -weak_alias(__libc_waitpid, waitpid) +strong_alias(__waitpid,waitpid) +weak_alias(__waitpid,__libc_waitpid) |