summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/vfork.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-29 15:32:48 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-29 15:32:48 +0000
commit28db421a4b232068a10a4703e21af1a51a638847 (patch)
treea1f388ce1aac3d2f426a96ac36e15c050fc96d89 /libc/sysdeps/linux/common/vfork.c
parent46dc42acff5308eb62a2b18df9bc792c8cf8f7ee (diff)
create local prototypes to shutup warnings
Diffstat (limited to 'libc/sysdeps/linux/common/vfork.c')
-rw-r--r--libc/sysdeps/linux/common/vfork.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/vfork.c b/libc/sysdeps/linux/common/vfork.c
index f668a020f..1a6210cf0 100644
--- a/libc/sysdeps/linux/common/vfork.c
+++ b/libc/sysdeps/linux/common/vfork.c
@@ -3,6 +3,7 @@
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
+
/* Trivial implementation for arches that lack vfork */
#include <unistd.h>
#include <sys/types.h>
@@ -11,6 +12,7 @@
#ifdef __NR_fork
libc_hidden_proto(fork)
+pid_t attribute_hidden __vfork(void);
pid_t attribute_hidden __vfork(void)
{
return fork();