PERFORCE change 95524 for review

John Birrell jb at FreeBSD.org
Tue Apr 18 20:30:47 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=95524

Change 95524 by jb at jb_freebsd2 on 2006/04/18 20:30:17

	Hide a few definitions when including this file in kernel code.

Affected files ...

.. //depot/projects/dtrace/src/sys/contrib/opensolaris/compat/sys/types.h#3 edit

Differences ...

==== //depot/projects/dtrace/src/sys/contrib/opensolaris/compat/sys/types.h#3 (text+ko) ====

@@ -51,10 +51,12 @@
 typedef id_t		zoneid_t;
 typedef id_t		ctid_t;
 
+#ifndef _KERNEL
 #if defined(__XOPEN_OR_POSIX)
 typedef enum { _B_FALSE, _B_TRUE } boolean_t;
 #else
 typedef enum { B_FALSE, B_TRUE } boolean_t;
 #endif /* defined(__XOPEN_OR_POSIX) */
+#endif
 
 #endif


More information about the p4-projects mailing list