diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2021-10-06 00:42:48 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2021-10-06 00:42:48 +0000 |
commit | d72bc25c15955e03f1cf38eb2dd0e415959fb039 (patch) | |
tree | 0bc3332e6f145d91da3a18bad2eba385c61d39fc /lib | |
parent | 07e613625e6c1d6e06701b56975d21078c7ce256 (diff) |
annotate sys/param.h uses as required, and pull in standard userland
.h files as required.... preparing for a potential future when sys/proc.h
might be more clean...
do not touch the MD .c files yet, the dragons remain full of fire
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libkvm/kvm.c | 4 | ||||
-rw-r--r-- | lib/libkvm/kvm_proc2.c | 4 | ||||
-rw-r--r-- | lib/libkvm/kvm_sparc64.c | 6 |
3 files changed, 8 insertions, 6 deletions
diff --git a/lib/libkvm/kvm.c b/lib/libkvm/kvm.c index 928d8f94584..a0d9c61e925 100644 --- a/lib/libkvm/kvm.c +++ b/lib/libkvm/kvm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm.c,v 1.68 2021/03/11 07:43:34 deraadt Exp $ */ +/* $OpenBSD: kvm.c,v 1.69 2021/10/06 00:42:46 deraadt Exp $ */ /* $NetBSD: kvm.c,v 1.43 1996/05/05 04:31:59 gwr Exp $ */ /*- @@ -34,7 +34,7 @@ * SUCH DAMAGE. */ -#include <sys/param.h> /* MAXCOMLEN MID_MACHINE */ +#include <sys/param.h> /* MAXCOMLEN MID_MACHINE ALIGN */ #include <sys/proc.h> #include <sys/ioctl.h> #include <sys/stat.h> diff --git a/lib/libkvm/kvm_proc2.c b/lib/libkvm/kvm_proc2.c index 89b62e506be..d540f8ea242 100644 --- a/lib/libkvm/kvm_proc2.c +++ b/lib/libkvm/kvm_proc2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm_proc2.c,v 1.34 2021/09/10 00:02:43 deraadt Exp $ */ +/* $OpenBSD: kvm_proc2.c,v 1.35 2021/10/06 00:42:46 deraadt Exp $ */ /* $NetBSD: kvm_proc.c,v 1.30 1999/03/24 05:50:50 mrg Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -70,7 +70,7 @@ */ #define __need_process -#include <sys/param.h> /* MAXCOMLEN NODEV MIN */ +#include <sys/param.h> /* MAXCOMLEN NODEV */ #include <sys/types.h> #include <sys/signal.h> #include <sys/proc.h> diff --git a/lib/libkvm/kvm_sparc64.c b/lib/libkvm/kvm_sparc64.c index 534967490af..3cf5c7e2145 100644 --- a/lib/libkvm/kvm_sparc64.c +++ b/lib/libkvm/kvm_sparc64.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm_sparc64.c,v 1.10 2013/11/01 15:57:56 deraadt Exp $ */ +/* $OpenBSD: kvm_sparc64.c,v 1.11 2021/10/06 00:42:47 deraadt Exp $ */ /* $NetBSD: kvm_sparc64.c,v 1.7 2001/08/05 03:33:15 matt Exp $ */ /*- @@ -39,7 +39,9 @@ * vm code will one day obsolete this module. */ -#include <sys/param.h> +#include <sys/param.h> /* MAXCOMLEN PAGE_SIZE */ +#include <sys/types.h> +#include <sys/signal.h> #include <sys/exec.h> #include <sys/proc.h> #include <sys/stat.h> |