summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/fork.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-06-11 19:22:42 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-06-11 19:22:42 +0200
commit13433395f2fd808006cd07b05b79cae193c6ecb9 (patch)
treec0b8784782610e4e15c256f70008943ae7d75a6a /libc/sysdeps/linux/common/fork.c
parent8642c931a3ef2e944871b32b293df872eb7a1ae0 (diff)
silence some warnings about missing prototypes
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/fork.c')
-rw-r--r--libc/sysdeps/linux/common/fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/fork.c b/libc/sysdeps/linux/common/fork.c
index 26a20d987..2e730064f 100644
--- a/libc/sysdeps/linux/common/fork.c
+++ b/libc/sysdeps/linux/common/fork.c
@@ -10,10 +10,10 @@
#include <sys/syscall.h>
#include <unistd.h>
+extern __typeof(fork) __libc_fork;
#ifdef __ARCH_USE_MMU__
#ifdef __NR_fork
-extern __typeof(fork) __libc_fork;
#define __NR___libc_fork __NR_fork
_syscall0(pid_t, __libc_fork)
weak_alias(__libc_fork,fork)