PERFORCE change 142863 for review

John Birrell jb at FreeBSD.org
Wed Jun 4 03:17:02 UTC 2008


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

Change 142863 by jb at freebsd3 on 2008/06/04 03:16:54

	More OpenSolaris compatibility cleansing updates.

Affected files ...

.. //depot/projects/dtrace6/src/include/elf.h#3 edit
.. //depot/projects/dtrace6/src/include/stdlib.h#3 edit
.. //depot/projects/dtrace6/src/include/strings.h#3 edit
.. //depot/projects/dtrace6/src/include/unistd.h#3 edit

Differences ...

==== //depot/projects/dtrace6/src/include/elf.h#3 (text+ko) ====

@@ -38,8 +38,4 @@
 #include <sys/elf32.h>
 #include <sys/elf64.h>
 
-#ifdef _SOLARIS_C_SOURCE
-#include <sys/_elf_solaris.h>
-#endif
-
 #endif /* !_ELF_H_ */

==== //depot/projects/dtrace6/src/include/stdlib.h#3 (text+ko) ====

@@ -282,9 +282,6 @@
 extern char *suboptarg;			/* getsubopt(3) external variable */
 #endif /* __BSD_VISIBLE */
 
-#ifdef _SOLARIS_C_SOURCE
-#define	getexecname	getprogname
-#endif
 __END_DECLS
 
 #endif /* !_STDLIB_H_ */

==== //depot/projects/dtrace6/src/include/strings.h#3 (text+ko) ====

@@ -53,8 +53,4 @@
 int	 strncasecmp(const char *, const char *, size_t) __pure;
 __END_DECLS
 
-#ifdef _SOLARIS_C_SOURCE
-#include <string.h>
-#endif
-
 #endif /* _STRINGS_H_ */

==== //depot/projects/dtrace6/src/include/unistd.h#3 (text+ko) ====

@@ -296,8 +296,6 @@
 
 /* Extensions found in Solaris and Linux. */
 #define	_SC_PHYS_PAGES		121
-#define	_SC_NPROCESSORS_MAX	122
-#define	_SC_CPUID_MAX		123
 
 /* Keys for the confstr(3) function. */
 #if __POSIX_VISIBLE >= 199209


More information about the p4-projects mailing list