Date: Tue, 18 Apr 2006 20:30:46 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 95524 for review Message-ID: <200604182030.k3IKUk5m062164@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95524 Change 95524 by jb@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604182030.k3IKUk5m062164>