Browse Source

use typeof to create the prototype

Mike Frysinger 19 years ago
parent
commit
ceb83067f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libc/sysdeps/linux/common/vfork.c

+ 1 - 1
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();