This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Cleanup wctype.h



Ok to commit?

Andreas

2001-02-06  Andreas Jaeger  <aj@suse.de>

	* wctype/wctype.h: Move internal interfaces from here to...
	* include/wctype.h: ...here.

============================================================
Index: wctype/wctype.h
--- wctype/wctype.h	2000/09/16 05:38:37	1.30
+++ wctype/wctype.h	2001/02/06 09:22:21
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -175,12 +175,10 @@
 
 /* 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;
 
 /* Determine whether the wide-character WC has the property described by
    DESC.  */
-extern int __iswctype (wint_t __wc, wctype_t __desc) __THROW;
 extern int iswctype (wint_t __wc, wctype_t __desc) __THROW;
 
 #if __GNUC__ >= 2 && defined __OPTIMIZE__
@@ -255,9 +253,6 @@
 
 /* Converts an lowercase letter to the corresponding uppercase letter.  */
 extern wint_t towupper (wint_t __wc) __THROW;
-
-/* Map the wide character WC using the mapping described by DESC.  */
-extern wint_t __towctrans (wint_t __wc, wctrans_t __desc) __THROW;
 
 #if __GNUC__ >= 2 && defined __OPTIMIZE__
 /* The tables are always organized in a way which allows direct access
============================================================
Index: include/wctype.h
--- include/wctype.h	1999/10/19 13:52:30	1.3
+++ include/wctype.h	2001/02/06 09:22:21
@@ -2,6 +2,11 @@
 
 #include <wctype/wctype.h>
 
+/* Internal interfaces.  */
 extern int __iswspace (wint_t __wc);
+extern int __iswctype (wint_t __wc, wctype_t __desc);
+extern wctype_t __wctype (__const char *__property);
+extern wint_t __towctrans (wint_t __wc, wctrans_t __desc);
+
 
 #endif

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]