diff options
Diffstat (limited to 'lib/libc/gen/wait.c')
-rw-r--r-- | lib/libc/gen/wait.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libc/gen/wait.c b/lib/libc/gen/wait.c index 30c1b591a9a..22cacd9f427 100644 --- a/lib/libc/gen/wait.c +++ b/lib/libc/gen/wait.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wait.c,v 1.5 2005/08/08 08:05:34 espie Exp $ */ +/* $OpenBSD: wait.c,v 1.6 2015/10/25 19:15:56 guenther Exp $ */ /* * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. @@ -28,13 +28,11 @@ * SUCH DAMAGE. */ -#include <sys/types.h> #include <sys/time.h> #include <sys/wait.h> -#include <sys/resource.h> pid_t wait(int *istat) { - return (wait4(WAIT_ANY, istat, 0, (struct rusage *)0)); + return (wait4(WAIT_ANY, istat, 0, NULL)); } |