aboutsummaryrefslogtreecommitdiff
path: root/src/linux/wait3.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-19 02:28:42 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-19 02:28:42 -0500
commitcc2a8228fa0b35c9aee69efa7ac657bb7a4704f9 (patch)
treef158a0f0eca440a4fa751e73ee1cf4e13a2030d2 /src/linux/wait3.c
parentprototype wait3 and wait4 (diff)
downloadgrovel-cc2a8228fa0b35c9aee69efa7ac657bb7a4704f9.tar.gz
grovel-cc2a8228fa0b35c9aee69efa7ac657bb7a4704f9.tar.xz
cleanup cruft left from when kernel and user time_t disagreed
Diffstat (limited to '')
-rw-r--r--src/linux/wait3.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/linux/wait3.c b/src/linux/wait3.c
index d1d91b05..61c73594 100644
--- a/src/linux/wait3.c
+++ b/src/linux/wait3.c
@@ -1,9 +1,8 @@
+#define _GNU_SOURCE
#include <sys/wait.h>
#include <sys/resource.h>
#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);