diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-02-22 17:35:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-02-22 17:35:02 +0000 |
commit | 9d5266520f0a4832e2735871cfeeb25a0eb3c0dd (patch) | |
tree | c2da054491f3cf828713c60991d3349dbfe2260e /lib | |
parent | f2770b31653900954d03d0c6bb4d595a73921e73 (diff) |
MAXCOMLEN is no longer needed in these programs, so remove the annotation
from sys/param.h include lines, or remove the include lines entirely if
it this was the least requirement.
ok millert
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libkvm/kvm.c | 5 | ||||
-rw-r--r-- | lib/libkvm/kvm_file2.c | 3 | ||||
-rw-r--r-- | lib/libkvm/kvm_proc.c | 4 | ||||
-rw-r--r-- | lib/libkvm/kvm_proc2.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/lib/libkvm/kvm.c b/lib/libkvm/kvm.c index 2309ae95cd7..38e0571fb23 100644 --- a/lib/libkvm/kvm.c +++ b/lib/libkvm/kvm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm.c,v 1.71 2022/02/20 00:09:29 deraadt Exp $ */ +/* $OpenBSD: kvm.c,v 1.72 2022/02/22 17:35:01 deraadt Exp $ */ /* $NetBSD: kvm.c,v 1.43 1996/05/05 04:31:59 gwr Exp $ */ /*- @@ -34,7 +34,8 @@ * SUCH DAMAGE. */ -#include <sys/param.h> /* MAXCOMLEN MID_MACHINE */ +#include <sys/param.h> /* MID_MACHINE */ +#include <sys/types.h> #include <sys/signal.h> #include <sys/proc.h> #include <sys/ioctl.h> diff --git a/lib/libkvm/kvm_file2.c b/lib/libkvm/kvm_file2.c index 2a01b02e9c7..a1f1f919771 100644 --- a/lib/libkvm/kvm_file2.c +++ b/lib/libkvm/kvm_file2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm_file2.c,v 1.56 2021/09/10 00:02:43 deraadt Exp $ */ +/* $OpenBSD: kvm_file2.c,v 1.57 2022/02/22 17:35:01 deraadt Exp $ */ /* * Copyright (c) 2009 Todd C. Miller <millert@openbsd.org> @@ -54,7 +54,6 @@ #define __need_process -#include <sys/param.h> /* MAXCOMLEN */ #include <sys/types.h> #include <sys/signal.h> #include <sys/uio.h> diff --git a/lib/libkvm/kvm_proc.c b/lib/libkvm/kvm_proc.c index c6a70507177..f077a1461c9 100644 --- a/lib/libkvm/kvm_proc.c +++ b/lib/libkvm/kvm_proc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm_proc.c,v 1.62 2021/09/10 00:02:43 deraadt Exp $ */ +/* $OpenBSD: kvm_proc.c,v 1.63 2022/02/22 17:35:01 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 PAGE_SIZE */ +#include <sys/param.h> /* VM_MIN_ADDRESS PAGE_SIZE */ #include <sys/types.h> #include <sys/signal.h> #include <sys/proc.h> diff --git a/lib/libkvm/kvm_proc2.c b/lib/libkvm/kvm_proc2.c index 8928910f5af..a9368345dc9 100644 --- a/lib/libkvm/kvm_proc2.c +++ b/lib/libkvm/kvm_proc2.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm_proc2.c,v 1.37 2022/02/14 18:09:08 rob Exp $ */ +/* $OpenBSD: kvm_proc2.c,v 1.38 2022/02/22 17:35:01 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 */ +#include <sys/param.h> /* NODEV */ #include <sys/types.h> #include <sys/signal.h> #include <sys/proc.h> |