Explorar o código

use typeof to create the prototype

Mike Frysinger %!s(int64=20) %!d(string=hai) anos
pai
achega
ceb83067f2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();