summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_param.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-12-10 02:34:29 +0000
committerbde <bde@FreeBSD.org>1995-12-10 02:34:29 +0000
commitc951d0b363e6ac5802752da9aa7c261249dc4406 (patch)
tree3d7ceb02526b0fb72c3aa608283489214759e24c /sys/vm/vm_param.h
parent7c400f9c2b837036e34b796ee3aee421dbf760e2 (diff)
downloadFreeBSD-src-c951d0b363e6ac5802752da9aa7c261249dc4406.zip
FreeBSD-src-c951d0b363e6ac5802752da9aa7c261249dc4406.tar.gz
Moved the declaration of boolean_t from <vm/vm_param.h> to
<sys/types.h> (if KERNEL is defined). This allows removing bogus dependencies on vm stuff in several places (e.g., ddb) and stops <vm_param.h> from depending on <vm_param.h> Added declaration of boolean_t to <vm/vm.h> (if KERNEL is not defined). It never belonged in <vm/vm_param.h>. Unfortunately, it is required for some vm headers that are included by applications. Deleted declarations of TRUE and FALSE from <vm/vm_param.h>. They are defined in <sys/param.h> if KERNEL is defined and we'll soon find out if any applications depend on them being defined in a vm header.
Diffstat (limited to 'sys/vm/vm_param.h')
-rw-r--r--sys/vm/vm_param.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/vm/vm_param.h b/sys/vm/vm_param.h
index 4b047f9..7f05ebf 100644
--- a/sys/vm/vm_param.h
+++ b/sys/vm/vm_param.h
@@ -61,7 +61,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: vm_param.h,v 1.3 1994/08/02 07:55:37 davidg Exp $
+ * $Id: vm_param.h,v 1.4 1995/01/09 16:05:57 davidg Exp $
*/
/*
@@ -74,14 +74,6 @@
#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.
*/
OpenPOWER on IntegriCloud