summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/vfork.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/vfork.c')
-rw-r--r--libc/sysdeps/linux/common/vfork.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/vfork.c b/libc/sysdeps/linux/common/vfork.c
index d0a4d9a0e..df00b27c3 100644
--- a/libc/sysdeps/linux/common/vfork.c
+++ b/libc/sysdeps/linux/common/vfork.c
@@ -2,10 +2,11 @@
#include <unistd.h>
#include <sys/types.h>
-extern __pid_t __fork (void) __THROW attribute_hidden;
+libc_hidden_proto(fork)
-pid_t attribute_hidden __vfork(void)
+pid_t vfork(void)
{
- return __fork();
+ return fork();
}
-strong_alias(__vfork,vfork)
+libc_hidden_proto(vfork)
+libc_hidden_def(vfork)