summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/e1/vfork.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/e1/vfork.c')
-rw-r--r--libc/sysdeps/linux/e1/vfork.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/e1/vfork.c b/libc/sysdeps/linux/e1/vfork.c
index ec9961d62..34ae5833c 100644
--- a/libc/sysdeps/linux/e1/vfork.c
+++ b/libc/sysdeps/linux/e1/vfork.c
@@ -1,5 +1,15 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
#include <sys/types.h>
#include <sys/syscall.h>
#include <errno.h>
-_syscall0(pid_t, vfork);
+#define __NR___vfork __NR_vfork
+attribute_hidden _syscall0(pid_t, __vfork);
+libc_hidden_proto(vfork)
+weak_alias(__vfork,vfork)
+libc_hidden_weak(vfork)