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_WCHAR_C99_H
#define _ISO_WCHAR_C99_H
- #pragma ident "%Z%%M% %I% %E% SMI"
-
#ifdef __cplusplus
extern "C" {
#endif
/* Introduced in ISO/IEC 9899:1999 standard */
--- 38,47 ----
*** 56,67 ****
#define vswscanf _vswscanf_c89
#define vwscanf _vwscanf_c89
#endif
#endif /* !defined(_LP64) && !defined(_LONGLONG_TYPE) */
- #ifdef __STDC__
-
#if defined(_STDC_C99) || \
(!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX)) || \
defined(_XPG6) || defined(__EXTENSIONS__)
extern int vfwscanf(__FILE *_RESTRICT_KYWD, const wchar_t *_RESTRICT_KYWD,
__va_list);
--- 56,65 ----
*** 79,102 ****
wchar_t **_RESTRICT_KYWD, int);
#endif /* defined(_LONGLONG_TYPE) */
#endif /* defined(_STDC_C99) || (!defined(_STRICT_STDC)... */
- #else /* __STDC__ */
-
- #if !defined(__XOPEN_OR_POSIX) || defined(_XPG6) || defined(__EXTENSIONS__)
- extern int vfwscanf();
- extern int vswscanf();
- extern int vwscanf();
- extern float wcstof();
- extern long double wcstold();
- extern long int wcstoll();
- extern long int wcstoull();
- #endif /* !defined(__XOPEN_OR_POSIX) || defined(_XPG6) ... */
-
- #endif /* __STDC__ */
-
#ifdef __cplusplus
}
#endif
#endif /* _ISO_WCHAR_C99_H */
--- 77,86 ----