Ver código fonte

the rest of the compile fixes

Randolph Chung 24 anos atrás
pai
commit
42010194d0

+ 0 - 3
libc/sysdeps/linux/common/wait.c

@@ -3,9 +3,6 @@
 #include <sys/wait.h>
 #include <sys/resource.h>
 
-static inline
-_syscall4(__pid_t,wait4,__pid_t,pid,__WAIT_STATUS,status,int,options,struct rusage *,ru)
-
 __pid_t wait(__WAIT_STATUS wait_stat)
 {
 	return wait4((-1) /* WAIT_ANY */, wait_stat, 0, NULL);

+ 0 - 3
libc/sysdeps/linux/common/wait3.c

@@ -3,9 +3,6 @@
 #include <sys/wait.h>
 #include <sys/resource.h>
 
-static inline
-_syscall4(__pid_t,wait4,__pid_t,pid,__WAIT_STATUS,status,int,options,struct rusage *,ru)
-
 __pid_t wait3(__WAIT_STATUS wait_stat, int options, struct rusage *reserved)
 {
 	return wait4((-1) /* WAIT_ANY*/, wait_stat, options, reserved);

+ 0 - 3
libc/sysdeps/linux/common/waitpid.c

@@ -3,9 +3,6 @@
 #include <sys/wait.h>
 #include <sys/resource.h>
 
-static inline
-_syscall4(__pid_t,wait4,__pid_t,pid,__WAIT_STATUS,status,int,options,struct rusage *,ru)
-
 __pid_t
 waitpid(__pid_t pid, int *wait_stat, int options)
 {