From owner-p4-projects@FreeBSD.ORG Sat Apr 15 01:58:18 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 7889F16A403; Sat, 15 Apr 2006 01:58:18 +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 EADDC16A401; Sat, 15 Apr 2006 01:58:17 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87CFF43D45; Sat, 15 Apr 2006 01:58:17 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 8AC8546C42; Fri, 14 Apr 2006 21:58:14 -0400 (EDT) Date: Sat, 15 Apr 2006 02:58:14 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: John Birrell In-Reply-To: <200604142240.k3EMe0kp076659@repoman.freebsd.org> Message-ID: <20060415025409.K27251@fledge.watson.org> References: <200604142240.k3EMe0kp076659@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Perforce Change Reviews Subject: Re: PERFORCE change 95285 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: Sat, 15 Apr 2006 01:58:18 -0000 On Fri, 14 Apr 2006, John Birrell wrote: > http://perforce.freebsd.org/chv.cgi?CH=95285 > > Change 95285 by jb@jb_freebsd2 on 2006/04/14 22:39:13 > > The newest CLOCK_ defines in sys/time.h are supposed to be in time.h > too, otherwise they can't be accessed in an code which happens to > include time.h first. Hmm. Indeed. And it looks like SUSv3 thinks so too. Could you merge this to CVS when you get a chance? Thanks, Robert N M Watson > > Affected files ... > > .. //depot/projects/dtrace/src/include/time.h#2 edit > > Differences ... > > ==== //depot/projects/dtrace/src/include/time.h#2 (text+ko) ==== > > @@ -100,6 +100,14 @@ > #define CLOCK_PROF 2 > #endif > #define CLOCK_MONOTONIC 4 > +#define CLOCK_UPTIME 5 /* FreeBSD-specific. */ > +#define CLOCK_UPTIME_PRECISE 7 /* FreeBSD-specific. */ > +#define CLOCK_UPTIME_FAST 8 /* FreeBSD-specific. */ > +#define CLOCK_REALTIME_PRECISE 9 /* FreeBSD-specific. */ > +#define CLOCK_REALTIME_FAST 10 /* FreeBSD-specific. */ > +#define CLOCK_MONOTONIC_PRECISE 11 /* FreeBSD-specific. */ > +#define CLOCK_MONOTONIC_FAST 12 /* FreeBSD-specific. */ > +#define CLOCK_SECOND 13 /* FreeBSD-specific. */ > #endif /* !defined(CLOCK_REALTIME) && __POSIX_VISIBLE >= 200112 */ > > #if !defined(TIMER_ABSTIME) && __POSIX_VISIBLE >= 200112 >