diff options
author | 2015-10-25 19:15:56 +0000 | |
---|---|---|
committer | 2015-10-25 19:15:56 +0000 | |
commit | 800a8ade7bb9667398282c53d4bb5e8ac8ee11be (patch) | |
tree | aaa9742f172dcf911006e317074a67a0da00dda4 /lib/libc/gen/wait3.c | |
parent | Rename imsg_compose_parent and imsg_compose_rde to imsg_ctl_parent and (diff) | |
download | wireguard-openbsd-800a8ade7bb9667398282c53d4bb5e8ac8ee11be.tar.xz wireguard-openbsd-800a8ade7bb9667398282c53d4bb5e8ac8ee11be.zip |
Wrap waitpid() so calls go direct; weaken wait() and wait3().
Strip out unnecessary #includes and use NULL instead of (struct rusage *)0
Diffstat (limited to 'lib/libc/gen/wait3.c')
-rw-r--r-- | lib/libc/gen/wait3.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libc/gen/wait3.c b/lib/libc/gen/wait3.c index 5eb263b7f10..276c72c8966 100644 --- a/lib/libc/gen/wait3.c +++ b/lib/libc/gen/wait3.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wait3.c,v 1.5 2005/08/08 08:05:34 espie Exp $ */ +/* $OpenBSD: wait3.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,10 +28,7 @@ * SUCH DAMAGE. */ -#include <sys/types.h> -#include <sys/time.h> #include <sys/wait.h> -#include <sys/resource.h> pid_t wait3(int *istat, int options, struct rusage *rup) |