summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/vfork.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-29 20:29:37 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-29 20:29:37 +0000
commitceb83067f2248eb6f9517440c127250c98bbd8f3 (patch)
tree2c4e49eecc26ea33ab74537eddb1b9f11ba610cb /libc/sysdeps/linux/common/vfork.c
parent475180793bec586a9f5437f8682cc6a0b1c87d18 (diff)
use typeof to create the prototype
Diffstat (limited to 'libc/sysdeps/linux/common/vfork.c')
-rw-r--r--libc/sysdeps/linux/common/vfork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/vfork.c b/libc/sysdeps/linux/common/vfork.c
index 1a6210cf0..3bc3281f1 100644
--- a/libc/sysdeps/linux/common/vfork.c
+++ b/libc/sysdeps/linux/common/vfork.c
@@ -12,7 +12,7 @@
#ifdef __NR_fork
libc_hidden_proto(fork)
-pid_t attribute_hidden __vfork(void);
+extern __typeof(vfork) __vfork;
pid_t attribute_hidden __vfork(void)
{
return fork();