From ceb83067f2248eb6f9517440c127250c98bbd8f3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 29 Jan 2006 20:29:37 +0000 Subject: use typeof to create the prototype --- libc/sysdeps/linux/common/vfork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux') 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(); -- cgit v1.2.3