Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Dec 2006 01:14:43 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 110905 for review
Message-ID:  <200612030114.kB31EhRI000216@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110905

Change 110905 by jb@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612030114.kB31EhRI000216>