summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
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/arch/mac68k
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/arch/mac68k')
-rw-r--r--sys/arch/mac68k/include/internal_types.h3
-rw-r--r--sys/arch/mac68k/mac68k/clock.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/mac68k/include/internal_types.h b/sys/arch/mac68k/include/internal_types.h
new file mode 100644
index 00000000000..61dd1740f08
--- /dev/null
+++ b/sys/arch/mac68k/include/internal_types.h
@@ -0,0 +1,3 @@
+/* $OpenBSD: internal_types.h,v 1.1 2002/04/24 21:53:11 espie Exp $ */
+/* Public domain */
+#include <m68k/internal_types.h>
diff --git a/sys/arch/mac68k/mac68k/clock.c b/sys/arch/mac68k/mac68k/clock.c
index 4a2d070925d..fc085e0e798 100644
--- a/sys/arch/mac68k/mac68k/clock.c
+++ b/sys/arch/mac68k/mac68k/clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock.c,v 1.13 2002/03/14 01:26:35 millert Exp $ */
+/* $OpenBSD: clock.c,v 1.14 2002/04/24 21:53:11 espie Exp $ */
/* $NetBSD: clock.c,v 1.36 1997/10/07 03:04:55 scottr Exp $ */
/*
@@ -80,13 +80,13 @@
#include <sys/param.h>
#include <sys/device.h>
+#include <sys/limits.h>
#include <sys/kernel.h>
#include <sys/systm.h>
#include <machine/autoconf.h>
#include <machine/psl.h>
#include <machine/cpu.h>
-#include <machine/limits.h>
#if defined(GPROF) && defined(PROFTIMER)
#include <sys/gprof.h>