diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2021-12-01 16:53:29 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2021-12-01 16:53:29 +0000 |
commit | a0d4e04c64bbb5a5849131015c3936080606edcd (patch) | |
tree | 4e18bc8ceb56e551cdef20c8b4c6f3a8cf2e9f44 /lib/libkvm/kvm_riscv64.c | |
parent | aa2cbba45cd60d64ae13954f2749bfe6a0914572 (diff) |
Reduce use of sys/param.h, or annotate the reason why it is needed
(pretty much MAXCOMLEN for struct process or struct core), and remove
sys/vnode.h where not needed
Diffstat (limited to 'lib/libkvm/kvm_riscv64.c')
-rw-r--r-- | lib/libkvm/kvm_riscv64.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libkvm/kvm_riscv64.c b/lib/libkvm/kvm_riscv64.c index 10d3d6b570c..68a5d64422a 100644 --- a/lib/libkvm/kvm_riscv64.c +++ b/lib/libkvm/kvm_riscv64.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kvm_riscv64.c,v 1.1 2021/04/29 20:00:18 drahn Exp $ */ +/* $OpenBSD: kvm_riscv64.c,v 1.2 2021/12/01 16:53:28 deraadt Exp $ */ /* * Copyright (c) 2006 Miodrag Vallat. * @@ -50,10 +50,10 @@ * RISCV machine dependent routines for kvm. */ -#include <sys/param.h> +#include <sys/param.h> /* MAXCOMLEN */ +#include <sys/types.h> #include <sys/core.h> #include <sys/kcore.h> -#include <sys/vnode.h> #include <unistd.h> #include <stdlib.h> |