Print this page
remove support for non-ANSI compilation

*** 18,27 **** --- 18,29 ---- * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* + * Copyright 2014 Garrett D'Amore <garrett@damore.org> + * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /*
*** 36,47 **** */ #ifndef _ISO_STDLIB_C99_H #define _ISO_STDLIB_C99_H - #pragma ident "%Z%%M% %I% %E% SMI" - #ifdef __cplusplus extern "C" { #endif /* --- 38,47 ----
*** 57,68 **** long long quot; long long rem; } lldiv_t; #endif /* defined(_LONGLONG_TYPE) */ - #ifdef __STDC__ - #if (!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX)) || \ defined(_STDC_C99) || defined(__EXTENSIONS__) extern void _Exit(int); extern float strtof(const char *_RESTRICT_KYWD, char **_RESTRICT_KYWD); --- 57,66 ----
*** 78,107 **** char **_RESTRICT_KYWD, int); #endif /* defined(_LONGLONG_TYPE) */ #endif /* (!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX)) ... */ - #else /* __STDC__ */ - - #if !defined(__XOPEN_OR_POSIX) || defined(_XPG6) || defined(__EXTENSIONS__) - - extern void _Exit(); - extern float strtof(); - extern long double strtold(); - - #if defined(_LONGLONG_TYPE) - extern long long atoll(); - extern long long llabs(); - extern lldiv_t lldiv(); - extern long long strtoll(); - extern unsigned long long strtoull(); - #endif /* defined(_LONGLONG_TYPE) */ - - #endif /* !defined(__XOPEN_OR_POSIX) || defined(_XPG6)... */ - - #endif /* __STDC__ */ - #ifdef __cplusplus } #endif #endif /* _ISO_STDLIB_C99_H */ --- 76,85 ----