diff options
author | 2010-06-26 23:24:43 +0000 | |
---|---|---|
committer | 2010-06-26 23:24:43 +0000 | |
commit | e6d26cf848683f86952a7d1278dce6e126287ea3 (patch) | |
tree | 3bc973b2ee8dd968a52c814742250f2d4764d257 /sys/kern/sys_process.c | |
parent | Unbreak removal of one-level search index. (diff) | |
download | wireguard-openbsd-e6d26cf848683f86952a7d1278dce6e126287ea3.tar.xz wireguard-openbsd-e6d26cf848683f86952a7d1278dce6e126287ea3.zip |
Don't #include <sys/user.h> into files that don't need the stuff
it defines. In some cases, this means pulling in uvm.h or pcb.h
instead, but most of the inclusions were just noise. Tested on
alpha, amd64, armish, hppa, i386, macpcc, sgi, sparc64, and vax,
mostly by krw and naddy.
ok krw@
Diffstat (limited to 'sys/kern/sys_process.c')
-rw-r--r-- | sys/kern/sys_process.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c index e4473890395..d3944c41811 100644 --- a/sys/kern/sys_process.c +++ b/sys/kern/sys_process.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sys_process.c,v 1.45 2010/05/02 11:15:29 kettenis Exp $ */ +/* $OpenBSD: sys_process.c,v 1.46 2010/06/26 23:24:45 guenther Exp $ */ /* $NetBSD: sys_process.c,v 1.55 1996/05/15 06:17:47 tls Exp $ */ /*- @@ -58,7 +58,6 @@ #include <sys/malloc.h> #include <sys/ptrace.h> #include <sys/uio.h> -#include <sys/user.h> #include <sys/sched.h> #include <sys/mount.h> |