Date: Wed, 4 Jun 2008 03:17:01 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 142863 for review Message-ID: <200806040317.m543H1hh079885@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=142863 Change 142863 by jb@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806040317.m543H1hh079885>