Print this page
remove support for non-ANSI compilation

@@ -18,10 +18,12 @@
  * 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,12 +38,10 @@
  */
 
 #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 */

@@ -56,12 +56,10 @@
 #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);

@@ -79,24 +77,10 @@
                 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 */