From owner-p4-projects@FreeBSD.ORG Fri Apr 14 22:40:01 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 781D116A404; Fri, 14 Apr 2006 22:40:01 +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 3974B16A400 for ; Fri, 14 Apr 2006 22:40:01 +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 E9B8D43D48 for ; Fri, 14 Apr 2006 22:40:00 +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 k3EMe0EC076662 for ; Fri, 14 Apr 2006 22:40:00 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3EMe0kp076659 for perforce@freebsd.org; Fri, 14 Apr 2006 22:40:00 GMT (envelope-from jb@freebsd.org) Date: Fri, 14 Apr 2006 22:40:00 GMT Message-Id: <200604142240.k3EMe0kp076659@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 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: Fri, 14 Apr 2006 22:40:01 -0000 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. 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