summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libkvm/kvm.c4
-rw-r--r--lib/libkvm/kvm_alpha.c3
-rw-r--r--lib/libkvm/kvm_amd64.c3
-rw-r--r--lib/libkvm/kvm_hppa.c3
-rw-r--r--lib/libkvm/kvm_hppa64.c3
-rw-r--r--lib/libkvm/kvm_i386.c3
-rw-r--r--lib/libkvm/kvm_m68k.c3
-rw-r--r--lib/libkvm/kvm_m88k.c3
-rw-r--r--lib/libkvm/kvm_mips64.c3
-rw-r--r--lib/libkvm/kvm_powerpc.c3
-rw-r--r--lib/libkvm/kvm_proc.c4
-rw-r--r--lib/libkvm/kvm_sparc.c3
-rw-r--r--lib/libkvm/kvm_sparc64.c3
-rw-r--r--lib/libkvm/kvm_vax.c3
14 files changed, 16 insertions, 28 deletions
diff --git a/lib/libkvm/kvm.c b/lib/libkvm/kvm.c
index aa2d9097c38..52a89d68ece 100644
--- a/lib/libkvm/kvm.c
+++ b/lib/libkvm/kvm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm.c,v 1.50 2013/10/17 08:02:21 deraadt Exp $ */
+/* $OpenBSD: kvm.c,v 1.51 2013/11/01 15:57:56 deraadt Exp $ */
/* $NetBSD: kvm.c,v 1.43 1996/05/05 04:31:59 gwr Exp $ */
/*-
@@ -35,7 +35,6 @@
*/
#include <sys/param.h>
-#include <sys/user.h>
#include <sys/proc.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
@@ -45,6 +44,7 @@
#include <sys/exec.h>
#include <sys/kcore.h>
+#include <errno.h>
#include <ctype.h>
#include <db.h>
#include <fcntl.h>
diff --git a/lib/libkvm/kvm_alpha.c b/lib/libkvm/kvm_alpha.c
index ad2e11848cc..ee7f7dbcb77 100644
--- a/lib/libkvm/kvm_alpha.c
+++ b/lib/libkvm/kvm_alpha.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_alpha.c,v 1.14 2006/03/20 15:11:48 mickey Exp $ */
+/* $OpenBSD: kvm_alpha.c,v 1.15 2013/11/01 15:57:56 deraadt Exp $ */
/* $NetBSD: kvm_alpha.c,v 1.5 1996/10/01 21:12:05 cgd Exp $ */
/*
@@ -31,7 +31,6 @@
#define __KVM_ALPHA_PRIVATE /* see <machine/pte.h> */
#include <sys/param.h>
-#include <sys/user.h>
#include <sys/proc.h>
#include <sys/stat.h>
#include <sys/kcore.h>
diff --git a/lib/libkvm/kvm_amd64.c b/lib/libkvm/kvm_amd64.c
index 30cf67331b1..5e9f075c52b 100644
--- a/lib/libkvm/kvm_amd64.c
+++ b/lib/libkvm/kvm_amd64.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_amd64.c,v 1.10 2013/03/28 16:27:31 deraadt Exp $ */
+/* $OpenBSD: kvm_amd64.c,v 1.11 2013/11/01 15:57:56 deraadt Exp $ */
/* $NetBSD: kvm_x86_64.c,v 1.3 2002/06/05 22:01:55 fvdl Exp $ */
/*-
@@ -39,7 +39,6 @@
*/
#include <sys/param.h>
-#include <sys/user.h>
#include <sys/proc.h>
#include <sys/stat.h>
#include <sys/kcore.h>
diff --git a/lib/libkvm/kvm_hppa.c b/lib/libkvm/kvm_hppa.c
index 837a6aaa099..5831e254064 100644
--- a/lib/libkvm/kvm_hppa.c
+++ b/lib/libkvm/kvm_hppa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_hppa.c,v 1.8 2013/03/28 16:27:31 deraadt Exp $ */
+/* $OpenBSD: kvm_hppa.c,v 1.9 2013/11/01 15:57:56 deraadt Exp $ */
/*
* Copyright (c) 2002, Miodrag Vallat.
@@ -26,7 +26,6 @@
*/
#include <sys/param.h>
-#include <sys/user.h>
#include <sys/proc.h>
#include <sys/stat.h>
diff --git a/lib/libkvm/kvm_hppa64.c b/lib/libkvm/kvm_hppa64.c
index 51ea2bf84c9..deaed7d9fec 100644
--- a/lib/libkvm/kvm_hppa64.c
+++ b/lib/libkvm/kvm_hppa64.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_hppa64.c,v 1.2 2013/03/28 16:27:31 deraadt Exp $ */
+/* $OpenBSD: kvm_hppa64.c,v 1.3 2013/11/01 15:57:56 deraadt Exp $ */
/*
* Copyright (c) 2002, Miodrag Vallat.
@@ -26,7 +26,6 @@
*/
#include <sys/param.h>
-#include <sys/user.h>
#include <sys/proc.h>
#include <sys/stat.h>
diff --git a/lib/libkvm/kvm_i386.c b/lib/libkvm/kvm_i386.c
index 54109723296..ed4a3a65bab 100644
--- a/lib/libkvm/kvm_i386.c
+++ b/lib/libkvm/kvm_i386.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_i386.c,v 1.23 2013/03/28 16:27:31 deraadt Exp $ */
+/* $OpenBSD: kvm_i386.c,v 1.24 2013/11/01 15:57:56 deraadt Exp $ */
/* $NetBSD: kvm_i386.c,v 1.9 1996/03/18 22:33:38 thorpej Exp $ */
/*-
@@ -40,7 +40,6 @@
*/
#include <sys/param.h>
-#include <sys/user.h>
#include <sys/proc.h>
#include <sys/stat.h>
#include <stdlib.h>
diff --git a/lib/libkvm/kvm_m68k.c b/lib/libkvm/kvm_m68k.c
index 6230b82bfbb..cc6e8b2c5ca 100644
--- a/lib/libkvm/kvm_m68k.c
+++ b/lib/libkvm/kvm_m68k.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_m68k.c,v 1.22 2013/10/17 08:02:21 deraadt Exp $ */
+/* $OpenBSD: kvm_m68k.c,v 1.23 2013/11/01 15:57:56 deraadt Exp $ */
/* $NetBSD: kvm_m68k.c,v 1.9 1996/05/07 06:09:11 leo Exp $ */
/*-
@@ -40,7 +40,6 @@
*/
#include <sys/param.h>
-#include <sys/user.h>
#include <sys/proc.h>
#include <sys/stat.h>
diff --git a/lib/libkvm/kvm_m88k.c b/lib/libkvm/kvm_m88k.c
index f2f46d3ff01..54e4239d4cf 100644
--- a/lib/libkvm/kvm_m88k.c
+++ b/lib/libkvm/kvm_m88k.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_m88k.c,v 1.4 2006/03/20 15:11:48 mickey Exp $ */
+/* $OpenBSD: kvm_m88k.c,v 1.5 2013/11/01 15:57:56 deraadt Exp $ */
/* $NetBSD: kvm_alpha.c,v 1.2 1995/09/29 03:57:48 cgd Exp $ */
/*
@@ -29,7 +29,6 @@
*/
#include <sys/param.h>
-#include <sys/user.h>
#include <sys/proc.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/lib/libkvm/kvm_mips64.c b/lib/libkvm/kvm_mips64.c
index 0ec1ccb6c96..6d43353bf2e 100644
--- a/lib/libkvm/kvm_mips64.c
+++ b/lib/libkvm/kvm_mips64.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_mips64.c,v 1.12 2009/12/07 18:49:14 miod Exp $ */
+/* $OpenBSD: kvm_mips64.c,v 1.13 2013/11/01 15:57:56 deraadt Exp $ */
/* $NetBSD: kvm_mips.c,v 1.3 1996/03/18 22:33:44 thorpej Exp $ */
/*-
@@ -40,7 +40,6 @@
*/
#include <sys/param.h>
-#include <sys/user.h>
#include <sys/proc.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/lib/libkvm/kvm_powerpc.c b/lib/libkvm/kvm_powerpc.c
index ddda9e34a2c..f663defc5f9 100644
--- a/lib/libkvm/kvm_powerpc.c
+++ b/lib/libkvm/kvm_powerpc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_powerpc.c,v 1.7 2012/03/16 03:00:03 deraadt Exp $ */
+/* $OpenBSD: kvm_powerpc.c,v 1.8 2013/11/01 15:57:56 deraadt Exp $ */
/*-
* Copyright (C) 1996 Wolfgang Solfrank.
@@ -37,7 +37,6 @@
#include <sys/param.h>
#include <sys/exec.h>
-#include <sys/user.h>
#include <sys/proc.h>
#include <sys/stat.h>
#include <sys/core.h>
diff --git a/lib/libkvm/kvm_proc.c b/lib/libkvm/kvm_proc.c
index 84c33aea9a1..28cc3c96e62 100644
--- a/lib/libkvm/kvm_proc.c
+++ b/lib/libkvm/kvm_proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_proc.c,v 1.48 2013/01/14 06:32:37 guenther Exp $ */
+/* $OpenBSD: kvm_proc.c,v 1.49 2013/11/01 15:57:56 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,6 @@
*/
#include <sys/param.h>
-#include <sys/user.h>
#include <sys/proc.h>
#include <sys/exec.h>
#include <sys/stat.h>
@@ -81,6 +80,7 @@
#include <unistd.h>
#include <nlist.h>
#include <kvm.h>
+#include <errno.h>
#include <uvm/uvm_extern.h>
#include <uvm/uvm_amap.h>
diff --git a/lib/libkvm/kvm_sparc.c b/lib/libkvm/kvm_sparc.c
index c2ae363f667..b1d75719183 100644
--- a/lib/libkvm/kvm_sparc.c
+++ b/lib/libkvm/kvm_sparc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_sparc.c,v 1.12 2009/10/27 23:59:28 deraadt Exp $ */
+/* $OpenBSD: kvm_sparc.c,v 1.13 2013/11/01 15:57:56 deraadt Exp $ */
/* $NetBSD: kvm_sparc.c,v 1.9 1996/04/01 19:23:03 cgd Exp $ */
/*-
@@ -40,7 +40,6 @@
*/
#include <sys/param.h>
-#include <sys/user.h>
#include <sys/proc.h>
#include <sys/stat.h>
#include <sys/core.h>
diff --git a/lib/libkvm/kvm_sparc64.c b/lib/libkvm/kvm_sparc64.c
index 56efe07b873..534967490af 100644
--- a/lib/libkvm/kvm_sparc64.c
+++ b/lib/libkvm/kvm_sparc64.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_sparc64.c,v 1.9 2013/03/28 16:27:31 deraadt Exp $ */
+/* $OpenBSD: kvm_sparc64.c,v 1.10 2013/11/01 15:57:56 deraadt Exp $ */
/* $NetBSD: kvm_sparc64.c,v 1.7 2001/08/05 03:33:15 matt Exp $ */
/*-
@@ -41,7 +41,6 @@
#include <sys/param.h>
#include <sys/exec.h>
-#include <sys/user.h>
#include <sys/proc.h>
#include <sys/stat.h>
#include <sys/core.h>
diff --git a/lib/libkvm/kvm_vax.c b/lib/libkvm/kvm_vax.c
index 643aca422dd..24ce958af55 100644
--- a/lib/libkvm/kvm_vax.c
+++ b/lib/libkvm/kvm_vax.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kvm_vax.c,v 1.14 2013/03/28 16:27:31 deraadt Exp $ */
+/* $OpenBSD: kvm_vax.c,v 1.15 2013/11/01 15:57:56 deraadt Exp $ */
/* $NetBSD: kvm_vax.c,v 1.3 1996/03/18 22:34:06 thorpej Exp $ */
/*-
@@ -40,7 +40,6 @@
*/
#include <sys/param.h>
-#include <sys/user.h>
#include <sys/proc.h>
#include <sys/stat.h>
#include <sys/kcore.h>