summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/e1
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/e1')
-rw-r--r--libc/sysdeps/linux/e1/vfork.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/e1/vfork.c b/libc/sysdeps/linux/e1/vfork.c
index 36f176acb..ceb8d8263 100644
--- a/libc/sysdeps/linux/e1/vfork.c
+++ b/libc/sysdeps/linux/e1/vfork.c
@@ -8,7 +8,8 @@
#include <sys/syscall.h>
#include <errno.h>
+#define __NR___vfork __NR_vfork
+attribute_hidden _syscall0(pid_t, __vfork);
libc_hidden_proto(vfork)
-
-_syscall0(pid_t, vfork);
+weak_alias(__vfork,vfork)
libc_hidden_def(vfork)