PERFORCE change 110905 for review

John Birrell jb at FreeBSD.org
Sat Dec 2 17:14:44 PST 2006


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

Change 110905 by jb at jb_freebsd8 on 2006/12/03 01:14:25

	Reset these to match OpenSolaris sources.

Affected files ...

.. //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_buf.c#4 edit
.. //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_cg.c#5 edit

Differences ...

==== //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_buf.c#4 (text) ====

@@ -39,9 +39,7 @@
  * to check for errors and then perform a single check before using the buffer.
  */
 
-#if defined(sun)
 #include <sys/sysmacros.h>
-#endif
 #include <strings.h>
 
 #include <dt_impl.h>

==== //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_cg.c#5 (text) ====

@@ -27,11 +27,7 @@
 #pragma ident	"%Z%%M%	%I%	%E% SMI"
 
 #include <sys/types.h>
-#if defined(sun)
 #include <sys/sysmacros.h>
-#else
-#define	P2ROUNDUP(x, align)		(-(-(x) & -(align)))
-#endif
 #include <sys/isa_defs.h>
 
 #include <strings.h>


More information about the p4-projects mailing list