Quellcode durchsuchen

use typeof to create the prototype

Mike Frysinger vor 20 Jahren
Ursprung
Commit
ceb83067f2
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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();