diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-03-09 23:06:21 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-03-09 23:06:21 +0000 |
commit | f9a2d9938100b5ccc2345fa74a2bc4362511c7c1 (patch) | |
tree | 3c6e7e2fc2236c859c8ae53f3dde89e456a48c8c | |
parent | 814cf3ad26d24f0fad2ab8633ba9bd18b1cbb9a6 (diff) |
Do not include <lib/libkern/libkern.h> explicitely, get it via <sys/systm.h>.
-rw-r--r-- | sys/arch/macppc/macppc/opendev.c | 4 | ||||
-rw-r--r-- | sys/arch/mips64/mips64/arcbios.c | 3 | ||||
-rw-r--r-- | sys/ddb/db_output.c | 6 | ||||
-rw-r--r-- | sys/dev/isa/mcd.c | 4 |
4 files changed, 6 insertions, 11 deletions
diff --git a/sys/arch/macppc/macppc/opendev.c b/sys/arch/macppc/macppc/opendev.c index 8a71fe69ca8..9394ac2fd12 100644 --- a/sys/arch/macppc/macppc/opendev.c +++ b/sys/arch/macppc/macppc/opendev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: opendev.c,v 1.8 2004/01/07 22:45:59 brad Exp $ */ +/* $OpenBSD: opendev.c,v 1.9 2006/03/09 23:06:19 miod Exp $ */ /* $NetBSD: openfirm.c,v 1.1 1996/09/30 16:34:52 ws Exp $ */ /* @@ -32,11 +32,11 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include <sys/param.h> +#include <sys/systm.h> #include <sys/stdarg.h> #include <machine/psl.h> #include <dev/ofw/openfirm.h> -#include <lib/libkern/libkern.h> extern void ofw_stack(void); extern void ofbcopy(const void *, void *, size_t); diff --git a/sys/arch/mips64/mips64/arcbios.c b/sys/arch/mips64/mips64/arcbios.c index 1acc8aa7856..0afb7f3d9f9 100644 --- a/sys/arch/mips64/mips64/arcbios.c +++ b/sys/arch/mips64/mips64/arcbios.c @@ -1,4 +1,4 @@ -/* $OpenBSD: arcbios.c,v 1.7 2004/10/20 12:49:15 pefo Exp $ */ +/* $OpenBSD: arcbios.c,v 1.8 2006/03/09 23:06:20 miod Exp $ */ /*- * Copyright (c) 1996 M. Warner Losh. All rights reserved. * Copyright (c) 1996-2004 Opsycon AB. All rights reserved. @@ -28,7 +28,6 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/proc.h> -#include <lib/libkern/libkern.h> #include <machine/pte.h> #include <machine/cpu.h> #include <machine/memconf.h> diff --git a/sys/ddb/db_output.c b/sys/ddb/db_output.c index 397c60aa793..918b7fe1316 100644 --- a/sys/ddb/db_output.c +++ b/sys/ddb/db_output.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_output.c,v 1.22 2004/01/03 14:08:53 espie Exp $ */ +/* $OpenBSD: db_output.c,v 1.23 2006/03/09 23:06:20 miod Exp $ */ /* $NetBSD: db_output.c,v 1.13 1996/04/01 17:27:14 christos Exp $ */ /* @@ -32,8 +32,8 @@ */ #include <sys/param.h> #include <sys/proc.h> - #include <sys/stdarg.h> +#include <sys/systm.h> #include <dev/cons.h> @@ -48,8 +48,6 @@ #include <ddb/db_var.h> #include <ddb/db_extern.h> -#include <lib/libkern/libkern.h> - /* * Character output - tracks position in line. * To do this correctly, we should know how wide diff --git a/sys/dev/isa/mcd.c b/sys/dev/isa/mcd.c index 0ad1e20d01f..5a46a8acda8 100644 --- a/sys/dev/isa/mcd.c +++ b/sys/dev/isa/mcd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mcd.c,v 1.36 2006/03/09 23:05:18 miod Exp $ */ +/* $OpenBSD: mcd.c,v 1.37 2006/03/09 23:06:20 miod Exp $ */ /* $NetBSD: mcd.c,v 1.60 1998/01/14 12:14:41 drochner Exp $ */ /* @@ -82,8 +82,6 @@ #include <dev/isa/mcdreg.h> #include <dev/isa/opti.h> -#include <lib/libkern/libkern.h> - #ifndef MCDDEBUG #define MCD_TRACE(fmt,a,b,c,d) #else |