diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-14 19:58:35 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:24 +0200 |
commit | b91a7f431d894b7bafc5f8456f0c4f35e682caf6 (patch) | |
tree | e67e71a39d1b880dfba84549d481d764e62b4fa2 /libc/sysdeps/linux/common/fork.c | |
parent | 741caa9982ba54bd58867b59ce2acf07de779bab (diff) |
cleanup fork()
Keep only fork (and it's hidden variant) and __libc_fork.
Common __libc_fork prototype in unistd.h.
Get rid of __fork, by changing HIDDEN_JUMPTARGET(__fork) to use fork
I can't see the reason to have fork() in libpthread, but kept it for now
making __fork static in these files.
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/fork.c')
-rw-r--r-- | libc/sysdeps/linux/common/fork.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/fork.c b/libc/sysdeps/linux/common/fork.c index 14e00a2cd..88958b144 100644 --- a/libc/sysdeps/linux/common/fork.c +++ b/libc/sysdeps/linux/common/fork.c @@ -14,7 +14,6 @@ #ifdef __NR_fork #define __NR___libc_fork __NR_fork -extern __typeof(fork) __libc_fork; _syscall0(pid_t, __libc_fork) weak_alias(__libc_fork,fork) libc_hidden_weak(fork) |