simplify some logic in scanf and remove redundant invalid-format check
[musl] / src / linux / wait3.c
index dd63707..61c7359 100644 (file)
@@ -1,10 +1,8 @@
+#define _GNU_SOURCE
 #include <sys/wait.h>
 #include <sys/resource.h>
-#define SYSCALL_STANDALONE
 #include "syscall.h"
 
-pid_t wait4(pid_t, int *, int, struct rusage *);
-
 pid_t wait3(int *status, int options, struct rusage *usage)
 {
        return wait4(-1, status, options, usage);