Sfoglia il codice sorgente

Sync to glibc, remove __x

Peter S. Mazinger 18 anni fa
parent
commit
0a8209d901
2 ha cambiato i file con 0 aggiunte e 54 eliminazioni
  1. 0 36
      include/wchar.h
  2. 0 18
      include/wctype.h

+ 0 - 36
include/wchar.h

@@ -180,13 +180,9 @@ extern int wcsncasecmp (__const wchar_t *__s1, __const wchar_t *__s2,
 
 
 extern int wcscasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2,
 extern int wcscasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2,
 			 __locale_t __loc) __THROW;
 			 __locale_t __loc) __THROW;
-extern int __wcscasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2,
-			 __locale_t __loc) __THROW;
 
 
 extern int wcsncasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2,
 extern int wcsncasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2,
 			  size_t __n, __locale_t __loc) __THROW;
 			  size_t __n, __locale_t __loc) __THROW;
-extern int __wcsncasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2,
-			  size_t __n, __locale_t __loc) __THROW;
 #endif /* __UCLIBC_HAS_XLOCALE__ */
 #endif /* __UCLIBC_HAS_XLOCALE__ */
 #endif
 #endif
 
 
@@ -210,16 +206,12 @@ __END_NAMESPACE_C99
    LC_COLLATE category of the given locale.  */
    LC_COLLATE category of the given locale.  */
 extern int wcscoll_l (__const wchar_t *__s1, __const wchar_t *__s2,
 extern int wcscoll_l (__const wchar_t *__s1, __const wchar_t *__s2,
 		      __locale_t __loc) __THROW;
 		      __locale_t __loc) __THROW;
-extern int __wcscoll_l (__const wchar_t *__s1, __const wchar_t *__s2,
-		      __locale_t __loc) __THROW;
 
 
 /* Transform S2 into array pointed to by S1 such that if wcscmp is
 /* Transform S2 into array pointed to by S1 such that if wcscmp is
    applied to two transformed strings the result is the as applying
    applied to two transformed strings the result is the as applying
    `wcscoll' to the original strings.  */
    `wcscoll' to the original strings.  */
 extern size_t wcsxfrm_l (wchar_t *__s1, __const wchar_t *__s2,
 extern size_t wcsxfrm_l (wchar_t *__s1, __const wchar_t *__s2,
 			 size_t __n, __locale_t __loc) __THROW;
 			 size_t __n, __locale_t __loc) __THROW;
-extern size_t __wcsxfrm_l (wchar_t *__s1, __const wchar_t *__s2,
-			 size_t __n, __locale_t __loc) __THROW;
 
 
 #endif /* __UCLIBC_HAS_XLOCALE__ */
 #endif /* __UCLIBC_HAS_XLOCALE__ */
 
 
@@ -466,58 +458,34 @@ extern unsigned long long int wcstouq (__const wchar_t *__restrict __nptr,
 extern long int wcstol_l (__const wchar_t *__restrict __nptr,
 extern long int wcstol_l (__const wchar_t *__restrict __nptr,
 			  wchar_t **__restrict __endptr, int __base,
 			  wchar_t **__restrict __endptr, int __base,
 			  __locale_t __loc) __THROW;
 			  __locale_t __loc) __THROW;
-extern long int __wcstol_l (__const wchar_t *__restrict __nptr,
-			  wchar_t **__restrict __endptr, int __base,
-			  __locale_t __loc) __THROW;
 
 
 extern unsigned long int wcstoul_l (__const wchar_t *__restrict __nptr,
 extern unsigned long int wcstoul_l (__const wchar_t *__restrict __nptr,
 				    wchar_t **__restrict __endptr,
 				    wchar_t **__restrict __endptr,
 				    int __base, __locale_t __loc) __THROW;
 				    int __base, __locale_t __loc) __THROW;
-extern unsigned long int __wcstoul_l (__const wchar_t *__restrict __nptr,
-				    wchar_t **__restrict __endptr,
-				    int __base, __locale_t __loc) __THROW;
 
 
 __extension__
 __extension__
 extern long long int wcstoll_l (__const wchar_t *__restrict __nptr,
 extern long long int wcstoll_l (__const wchar_t *__restrict __nptr,
 				wchar_t **__restrict __endptr,
 				wchar_t **__restrict __endptr,
 				int __base, __locale_t __loc) __THROW;
 				int __base, __locale_t __loc) __THROW;
-__extension__
-extern long long int __wcstoll_l (__const wchar_t *__restrict __nptr,
-				wchar_t **__restrict __endptr,
-				int __base, __locale_t __loc) __THROW;
 
 
 __extension__
 __extension__
 extern unsigned long long int wcstoull_l (__const wchar_t *__restrict __nptr,
 extern unsigned long long int wcstoull_l (__const wchar_t *__restrict __nptr,
 					  wchar_t **__restrict __endptr,
 					  wchar_t **__restrict __endptr,
 					  int __base, __locale_t __loc)
 					  int __base, __locale_t __loc)
      __THROW;
      __THROW;
-__extension__
-extern unsigned long long int __wcstoull_l (__const wchar_t *__restrict __nptr,
-					  wchar_t **__restrict __endptr,
-					  int __base, __locale_t __loc)
-     __THROW;
 
 
 #ifdef __UCLIBC_HAS_FLOATS__
 #ifdef __UCLIBC_HAS_FLOATS__
 extern double wcstod_l (__const wchar_t *__restrict __nptr,
 extern double wcstod_l (__const wchar_t *__restrict __nptr,
 			wchar_t **__restrict __endptr, __locale_t __loc)
 			wchar_t **__restrict __endptr, __locale_t __loc)
      __THROW;
      __THROW;
-extern double __wcstod_l (__const wchar_t *__restrict __nptr,
-			wchar_t **__restrict __endptr, __locale_t __loc)
-     __THROW;
 
 
 extern float wcstof_l (__const wchar_t *__restrict __nptr,
 extern float wcstof_l (__const wchar_t *__restrict __nptr,
 		       wchar_t **__restrict __endptr, __locale_t __loc)
 		       wchar_t **__restrict __endptr, __locale_t __loc)
      __THROW;
      __THROW;
-extern float __wcstof_l (__const wchar_t *__restrict __nptr,
-		       wchar_t **__restrict __endptr, __locale_t __loc)
-     __THROW;
 
 
 extern long double wcstold_l (__const wchar_t *__restrict __nptr,
 extern long double wcstold_l (__const wchar_t *__restrict __nptr,
 			      wchar_t **__restrict __endptr,
 			      wchar_t **__restrict __endptr,
 			      __locale_t __loc) __THROW;
 			      __locale_t __loc) __THROW;
-extern long double __wcstold_l (__const wchar_t *__restrict __nptr,
-			      wchar_t **__restrict __endptr,
-			      __locale_t __loc) __THROW;
 #endif /* __UCLIBC_HAS_FLOATS__ */
 #endif /* __UCLIBC_HAS_FLOATS__ */
 #endif /* __UCLIBC_HAS_XLOCALE__ */
 #endif /* __UCLIBC_HAS_XLOCALE__ */
 #endif /* GNU */
 #endif /* GNU */
@@ -763,10 +731,6 @@ extern size_t wcsftime_l (wchar_t *__restrict __s, size_t __maxsize,
 			  __const wchar_t *__restrict __format,
 			  __const wchar_t *__restrict __format,
 			  __const struct tm *__restrict __tp,
 			  __const struct tm *__restrict __tp,
 			  __locale_t __loc) __THROW;
 			  __locale_t __loc) __THROW;
-extern size_t __wcsftime_l (wchar_t *__restrict __s, size_t __maxsize,
-			  __const wchar_t *__restrict __format,
-			  __const struct tm *__restrict __tp,
-			  __locale_t __loc) __THROW;
 #endif /* __UCLIBC_HAS_XLOCALE__ */
 #endif /* __UCLIBC_HAS_XLOCALE__ */
 # endif
 # endif
 
 

+ 0 - 18
include/wctype.h

@@ -48,7 +48,6 @@ typedef unsigned int wint_t;
 #  ifdef __USE_ISOC99
 #  ifdef __USE_ISOC99
 __USING_NAMESPACE_C99(wint_t)
 __USING_NAMESPACE_C99(wint_t)
 #  endif
 #  endif
-__END_NAMESPACE_C99
 # endif
 # endif
 
 
 /* Constant expression of type `wint_t' whose value does not correspond
 /* Constant expression of type `wint_t' whose value does not correspond
@@ -322,23 +321,6 @@ extern wctrans_t wctrans_l (__const char *__property, __locale_t __locale)
 extern wint_t towctrans_l (wint_t __wc, wctrans_t __desc,
 extern wint_t towctrans_l (wint_t __wc, wctrans_t __desc,
 			   __locale_t __locale) __THROW;
 			   __locale_t __locale) __THROW;
 
 
-extern int __iswalnum_l(wint_t __wc, __locale_t __locale) __THROW;
-extern int __iswalpha_l(wint_t __wc, __locale_t __locale) __THROW;
-extern int __iswblank_l(wint_t __wc, __locale_t __locale) __THROW;
-extern int __iswcntrl_l(wint_t __wc, __locale_t __locale) __THROW;
-extern int __iswdigit_l(wint_t __wc, __locale_t __locale) __THROW;
-extern int __iswgraph_l(wint_t __wc, __locale_t __locale) __THROW;
-extern int __iswlower_l(wint_t __wc, __locale_t __locale) __THROW;
-extern int __iswprint_l(wint_t __wc, __locale_t __locale) __THROW;
-extern int __iswpunct_l(wint_t __wc, __locale_t __locale) __THROW;
-extern int __iswspace_l(wint_t __wc, __locale_t __locale) __THROW;
-extern int __iswupper_l(wint_t __wc, __locale_t __locale) __THROW;
-extern int __iswxdigit_l(wint_t __wc, __locale_t __locale) __THROW;
-extern wint_t __towlower_l(wint_t __wc, __locale_t __locale) __THROW;
-extern wint_t __towupper_l(wint_t __wc, __locale_t __locale) __THROW;
-extern int __iswctype_l(wint_t __wc, wctype_t __desc, __locale_t __locale) __THROW;
-extern wctrans_t __wctrans_l(const char *__property, __locale_t __locale) __THROW;
-extern wint_t __towctrans_l(wint_t __wc, wctrans_t __desc, __locale_t __locale) __THROW;
 # endif /* Use GNU.  */
 # endif /* Use GNU.  */
 
 
 __END_DECLS
 __END_DECLS