Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Oct 2007 23:15:17 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 128260 for review
Message-ID:  <200710282315.l9SNFHfp063124@repoman.freebsd.org>

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

Change 128260 by jb@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_ */



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