From 28db421a4b232068a10a4703e21af1a51a638847 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 29 Jan 2006 15:32:48 +0000 Subject: create local prototypes to shutup warnings --- libc/sysdeps/linux/common/vfork.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/sysdeps/linux/common/vfork.c') 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 #include @@ -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(); -- cgit v1.2.3