Print this page
remove support for non-ANSI compilation

@@ -22,16 +22,15 @@
 /*      wctype.h        1.13 89/11/02 SMI; JLE  */
 /*      from AT&T JAE 2.1                       */
 /*      definitions for international functions */
 
 /*
+ * Copyright 2014 Garrett D'Amore <garrett@damore.org>
+ *
  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
-/*
- * Copyright 2014 Garrett D'Amore <garrett@damore.org>
- */
 
 /*
  * An application should not include this header directly.  Instead it
  * should be included only through the inclusion of other Sun headers.
  *

@@ -81,11 +80,10 @@
 #define WEOF    ((wint_t)(-1))
 #endif
 #endif /* WEOF */
 #endif /* not XPG4 and not XPG4v2 */
 
-#ifdef __STDC__
 extern  int iswalnum(wint_t);
 extern  int iswalpha(wint_t);
 extern  int iswcntrl(wint_t);
 extern  int iswdigit(wint_t);
 extern  int iswgraph(wint_t);

@@ -106,33 +104,10 @@
 extern  wint_t towupper(wint_t);
 extern  wctrans_t wctrans(const char *);
 extern  wint_t towctrans(wint_t, wctrans_t);
 extern  int iswctype(wint_t, wctype_t);
 extern  wctype_t wctype(const char *);
-#else   /* __STDC__ */
-extern  int iswalnum();
-extern  int iswalpha();
-extern  int iswcntrl();
-extern  int iswdigit();
-extern  int iswgraph();
-extern  int iswlower();
-extern  int iswprint();
-extern  int iswpunct();
-extern  int iswspace();
-extern  int iswupper();
-extern  int iswxdigit();
-/* tow* also become functions */
-extern  wint_t towlower();
-extern  wint_t towupper();
-extern  wctrans_t wctrans();
-extern  wint_t towctrans();
-extern  int iswctype();
-extern  wctype_t wctype();
-#if defined(_XPG6) || !defined(_STRICT_SYMBOLS)
-extern  int iswblank();
-#endif
-#endif  /* __STDC__ */
 
 /* bit definition for character class */
 
 #define _E1     0x00000100      /* phonogram (international use) */
 #define _E2     0x00000200      /* ideogram (international use) */