From 290e19f8147d9b3c0166d3520e718ae5603e4cef Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 18 Nov 2012 06:17:03 -0500 Subject: drop support for pre ISO-C compilers This drops __signed, __volatile, and __const. Only the latter was used in the code base, and for uClibc, not consistently. Much of the code used plain "const" which meant "__const" was useless. Really, the point of this is to stay in sync with what glibc did. Signed-off-by: Mike Frysinger --- include/wctype.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/wctype.h') diff --git a/include/wctype.h b/include/wctype.h index a172c7024..aa133bd60 100644 --- a/include/wctype.h +++ b/include/wctype.h @@ -182,7 +182,7 @@ extern int iswblank (wint_t __wc) __THROW; /* Construct value that describes a class of wide characters identified by the string argument PROPERTY. */ -extern wctype_t wctype (__const char *__property) __THROW; +extern wctype_t wctype (const char *__property) __THROW; libc_hidden_proto(wctype) /* Determine whether the wide-character WC has the property described by @@ -199,7 +199,7 @@ __END_NAMESPACE_C99 __BEGIN_NAMESPACE_C99 /* Scalar type that can hold values which represent locale-specific character mappings. */ -/* uClibc note: glibc uses - typedef __const __int32_t *wctrans_t; */ +/* uClibc note: glibc uses - typedef const __int32_t *wctrans_t; */ typedef unsigned int wctrans_t; __END_NAMESPACE_C99 #ifdef __USE_GNU @@ -234,7 +234,7 @@ __BEGIN_DECLS __BEGIN_NAMESPACE_C99 /* Construct value that describes a mapping between wide characters identified by the string argument PROPERTY. */ -extern wctrans_t wctrans (__const char *__property) __THROW; +extern wctrans_t wctrans (const char *__property) __THROW; libc_hidden_proto(wctrans) /* Map the wide character WC using the mapping described by DESC. */ @@ -303,7 +303,7 @@ extern int iswblank_l (wint_t __wc, __locale_t __locale) __THROW; /* Construct value that describes a class of wide characters identified by the string argument PROPERTY. */ -extern wctype_t wctype_l (__const char *__property, __locale_t __locale) +extern wctype_t wctype_l (const char *__property, __locale_t __locale) __THROW; /* Determine whether the wide-character WC has the property described by @@ -327,7 +327,7 @@ libc_hidden_proto(towupper_l) /* Construct value that describes a mapping between wide characters identified by the string argument PROPERTY. */ -extern wctrans_t wctrans_l (__const char *__property, __locale_t __locale) +extern wctrans_t wctrans_l (const char *__property, __locale_t __locale) __THROW; /* Map the wide character WC using the mapping described by DESC. */ -- cgit v1.2.3