PERFORCE change 128260 for review

John Birrell jb at FreeBSD.org
Sun Oct 28 16:15:18 PDT 2007


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

Change 128260 by jb at jb_freebsd1 on 2007/10/28 23:15:03

	Remove more _SOLARIS_C_SOURCE compatibility definitions.

Affected files ...

.. //depot/projects/dtrace/src/include/elf.h#6 edit
.. //depot/projects/dtrace/src/include/stdlib.h#8 edit
.. //depot/projects/dtrace/src/include/strings.h#5 edit

Differences ...

==== //depot/projects/dtrace/src/include/elf.h#6 (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/dtrace/src/include/stdlib.h#8 (text+ko) ====

@@ -283,9 +283,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/dtrace/src/include/strings.h#5 (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_ */


More information about the p4-projects mailing list