Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/sys/types.h,v rcsdiff: /ftp/cvs/cvsroot/src/sys/sys/types.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.71 retrieving revision 1.72 diff -u -p -r1.71 -r1.72 --- src/sys/sys/types.h 2006/05/14 21:38:18 1.71 +++ src/sys/sys/types.h 2007/02/21 23:00:10 1.72 @@ -1,4 +1,4 @@ -/* $NetBSD: types.h,v 1.71 2006/05/14 21:38:18 elad Exp $ */ +/* $NetBSD: types.h,v 1.72 2007/02/21 23:00:10 thorpej Exp $ */ /*- * Copyright (c) 1982, 1986, 1991, 1993, 1994 @@ -194,6 +194,17 @@ typedef __uid_t uid_t; /* user id */ typedef int32_t dtime_t; /* on-disk time_t */ #if defined(_KERNEL) || defined(_STANDALONE) +/* + * Boolean type definitions for the kernel environment. User-space + * boolean definitions are found in . + */ +#define bool _Bool +#define true 1 +#define false 0 + +/* + * Deprecated Mach-style boolean_t type. Should not be used by new code. + */ typedef int boolean_t; #ifndef TRUE #define TRUE 1 @@ -201,7 +212,8 @@ typedef int boolean_t; #ifndef FALSE #define FALSE 0 #endif -#endif + +#endif /* _KERNEL || _STANDALONE */ #if defined(_KERNEL) || defined(_LIBC) /*