summaryrefslogtreecommitdiff
path: root/sys/kern/kern_clock.c
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2002-04-24 21:53:13 +0000
committerMarc Espie <espie@cvs.openbsd.org>2002-04-24 21:53:13 +0000
commit7c0de9a6039bc6cbca0fd91e88e4c1b334df52d7 (patch)
treeeae09ebbce65e9c5a8b1e831523955aaa3847d61 /sys/kern/kern_clock.c
parent767845303816d6a74680f4a7a5f9a70087b57e44 (diff)
Introduce a new file, machine/internal_types.h, to hold that specific arch
type characteristics. internal_types.h will contain only settings invisible from standard C, e.g., in the __* or _[A-Z]* namespace, and be reused by files like limits.h. This allows us to shorten machine/limits.h greatly, as all the common defines are now in sys/limits.h, plus a small stub in internal_types.h. Tested on all arches as far as I know. Approved after discussion with art, millert, deraadt, and others.
Diffstat (limited to 'sys/kern/kern_clock.c')
-rw-r--r--sys/kern/kern_clock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index f786f4af760..d87811e5c26 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_clock.c,v 1.34 2002/02/18 03:45:08 nordin Exp $ */
+/* $OpenBSD: kern_clock.c,v 1.35 2002/04/24 21:53:12 espie Exp $ */
/* $NetBSD: kern_clock.c,v 1.34 1996/06/09 04:51:03 briggs Exp $ */
/*-
@@ -46,6 +46,7 @@
#include <sys/dkstat.h>
#include <sys/timeout.h>
#include <sys/kernel.h>
+#include <sys/limits.h>
#include <sys/proc.h>
#include <sys/resourcevar.h>
#include <sys/signalvar.h>
@@ -55,7 +56,6 @@
#include <sys/sched.h>
#include <machine/cpu.h>
-#include <machine/limits.h>
#ifdef GPROF
#include <sys/gmon.h>