From owner-p4-projects@FreeBSD.ORG Tue Apr 18 20:30:47 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 8212716A406; Tue, 18 Apr 2006 20:30:47 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4850716A404 for ; Tue, 18 Apr 2006 20:30:47 +0000 (UTC) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id F35D643D45 for ; Tue, 18 Apr 2006 20:30:46 +0000 (GMT) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k3IKUkTf062170 for ; Tue, 18 Apr 2006 20:30:46 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3IKUk5m062164 for perforce@freebsd.org; Tue, 18 Apr 2006 20:30:46 GMT (envelope-from jb@freebsd.org) Date: Tue, 18 Apr 2006 20:30:46 GMT Message-Id: <200604182030.k3IKUk5m062164@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jb@freebsd.org using -f From: John Birrell To: Perforce Change Reviews Cc: Subject: PERFORCE change 95524 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Apr 2006 20:30:47 -0000 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