PERFORCE change 98708 for review

John Birrell jb at FreeBSD.org
Wed Jun 7 00:26:02 UTC 2006


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

Change 98708 by jb at jb_freebsd2 on 2006/06/06 23:31:33

	On FreeBSD, use the prototype for dtrace_gethrestime() from sys/time.h,
	not the DTrace one here. The reason is that I chose not to polute the
	FreeBSD headers with hrtime_t which is really just a uint64_t.

Affected files ...

.. //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/sys/dtrace_impl.h#8 edit

Differences ...

==== //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/sys/dtrace_impl.h#8 (text) ====

@@ -1261,7 +1261,9 @@
     int, uintptr_t);
 extern int dtrace_assfail(const char *, const char *, int);
 extern int dtrace_attached(void);
+#if defined(sun)
 extern hrtime_t dtrace_gethrestime(void);
+#endif
 
 #ifdef __sparc
 extern void dtrace_flush_windows(void);


More information about the p4-projects mailing list