PERFORCE change 95614 for review

John Birrell jb at FreeBSD.org
Wed Apr 19 19:49:06 UTC 2006


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

Change 95614 by jb at jb_freebsd2 on 2006/04/19 19:48:47

	Include another compatibility header to allow us to share the
	dm_info field. We don't do much with it, but it makes the code cleaner
	in places.

Affected files ...

.. //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_impl.h#4 edit

Differences ...

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

@@ -38,6 +38,7 @@
 #include <opensolaris/compat/unistd.h>
 #include <opensolaris/compat/sys/time.h>
 #include <opensolaris/compat/sys/bitmap.h>
+#include <opensolaris/compat/sys/objfs.h>
 #include <sys/utsname.h>
 #endif
 #include <setjmp.h>
@@ -115,9 +116,7 @@
 	struct dt_module *dm_next; /* pointer to next module in hash chain */
 	const dt_modops_t *dm_ops; /* pointer to data model's ops vector */
 	Elf *dm_elf;		/* libelf handle for module object */
-#if defined(sun)
 	objfs_info_t dm_info;	/* object filesystem private info */
-#endif
 	ctf_sect_t dm_symtab;	/* symbol table for module */
 	ctf_sect_t dm_strtab;	/* string table for module */
 	ctf_sect_t dm_ctdata;	/* CTF data for module */


More information about the p4-projects mailing list