Rename u32-mbtouc -> u32-mbtouc-unsafe, u32_mbtouc -> u32_mbtouc_unsafe.
authorBruno Haible <bruno@clisp.org>
Sun, 28 Jan 2007 02:30:19 +0000 (02:30 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 28 Jan 2007 02:30:19 +0000 (02:30 +0000)
ChangeLog
lib/linebreak.c
lib/unistr.h

index b0cb92e..c472f44 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2007-01-27  Bruno Haible  <bruno@clisp.org>
 
+       Rename u32-mbtouc -> u32-mbtouc-unsafe, u32-mbtouc-safe -> u32-mbtouc,
+       u32_mbtouc -> u32_mbtouc_unsafe, u32_mbtouc_safe -> u32_mbtouc.
+       * modules/unistr/u32-mbtouc-unsafe: Renamed from
+       modules/unistr/u32-mbtouc.
+       * lib/unistr/u32-mbtouc-unsafe.c: Renamed from lib/unistr/u32-mbtouc.c.
+       * lib/unistr.h: Update.
+
+2007-01-27  Bruno Haible  <bruno@clisp.org>
+
        Rename utf16-ucs4 -> utf16-ucs4-unsafe, utf16-ucs4-safe -> utf16-ucs4,
        u16_mbtouc -> u16_mbtouc_unsafe, u16_mbtouc_safe -> u16_mbtouc.
        * modules/utf16-ucs4-unsafe: Renamed from modules/utf16-ucs4.
index b9194de..66e4c94 100644 (file)
@@ -32,7 +32,7 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
 #ifdef unused
 static inline int
-u32_mbtouc (unsigned int *puc, const unsigned int *s, size_t n)
+u32_mbtouc_unsafe (unsigned int *puc, const unsigned int *s, size_t n)
 {
   *puc = *s;
   return 1;
index ba856ec..d01cee8 100644 (file)
@@ -150,13 +150,13 @@ extern int
 # endif
 #endif
 
-#ifdef GNULIB_UNISTR_U32_MBTOUC
+#ifdef GNULIB_UNISTR_U32_MBTOUC_UNSAFE
 # if !HAVE_INLINE
 extern int
-       u32_mbtouc (ucs4_t *puc, const uint32_t *s, size_t n);
+       u32_mbtouc_unsafe (ucs4_t *puc, const uint32_t *s, size_t n);
 # else
 static inline int
-u32_mbtouc (ucs4_t *puc, const uint32_t *s, size_t n)
+u32_mbtouc_unsafe (ucs4_t *puc, const uint32_t *s, size_t n)
 {
   uint32_t c = *s;