diff options
-rw-r--r-- | sys/sys/types.h | 11 | ||||
-rw-r--r-- | sys/vm/vm_param.h | 8 |
2 files changed, 9 insertions, 10 deletions
diff --git a/sys/sys/types.h b/sys/sys/types.h index 39abed3675d..96842a674bc 100644 --- a/sys/sys/types.h +++ b/sys/sys/types.h @@ -1,4 +1,4 @@ -/* $OpenBSD: types.h,v 1.4 1996/03/19 21:10:49 mickey Exp $ */ +/* $OpenBSD: types.h,v 1.5 1996/03/23 19:13:11 tholo Exp $ */ /* $NetBSD: types.h,v 1.24 1995/12/29 01:15:13 jtc Exp $ */ /*- @@ -59,15 +59,6 @@ typedef unsigned short ushort; /* Sys V compatibility */ typedef unsigned int uint; /* Sys V compatibility */ #endif -#ifdef _KERNEL -/* - * Boolean data type for use only kernel - */ -typedef int boolean_t; -#define TRUE 1 -#define FALSE 0 -#endif /* _KERNEL */ - typedef u_int64_t u_quad_t; /* quads */ typedef int64_t quad_t; typedef quad_t * qaddr_t; diff --git a/sys/vm/vm_param.h b/sys/vm/vm_param.h index 572281a2c3e..4880723351c 100644 --- a/sys/vm/vm_param.h +++ b/sys/vm/vm_param.h @@ -1,3 +1,4 @@ +/* $OpenBSD: vm_param.h,v 1.3 1996/03/23 19:13:13 tholo Exp $ */ /* $NetBSD: vm_param.h,v 1.12 1995/03/26 20:39:16 jtc Exp $ */ /* @@ -74,6 +75,13 @@ #include <machine/vmparam.h> /* + * This belongs in types.h, but breaks too many existing programs. + */ +typedef int boolean_t; +#define TRUE 1 +#define FALSE 0 + +/* * The machine independent pages are refered to as PAGES. A page * is some number of hardware pages, depending on the target machine. */ |