summaryrefslogtreecommitdiff
path: root/sys/lib/libkern/memset.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/lib/libkern/memset.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/lib/libkern/memset.c')
-rw-r--r--sys/lib/libkern/memset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/lib/libkern/memset.c b/sys/lib/libkern/memset.c
index b0a34c1ea62..cc7f9a15568 100644
--- a/sys/lib/libkern/memset.c
+++ b/sys/lib/libkern/memset.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: memset.c,v 1.2 2000/04/25 15:24:01 mickey Exp $ */
+/* $OpenBSD: memset.c,v 1.3 2002/04/24 21:53:12 espie Exp $ */
/* $NetBSD: memset.c,v 1.6 1998/03/27 05:35:47 cgd Exp $ */
/*-
@@ -52,9 +52,9 @@ __RCSID("$NetBSD: memset.c,v 1.6 1998/03/27 05:35:47 cgd Exp $");
#include <string.h>
#include <limits.h>
#else
+#include <sys/limits.h>
#include <sys/systm.h>
#include <lib/libkern/libkern.h>
-#include <machine/limits.h>
#endif
#define wsize sizeof(u_int)