X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Funistr.h;h=5643ea72b42b26d7ac02916e074dae8ba62b8663;hb=2d92c4fc77ddf2ccb407258878a62b917b67fbfd;hp=79759bc4b9eb66f495635ea5f0487f0de1775608;hpb=becd531bd72dc69966cf98d271930e637820b572;p=gnulib.git diff --git a/lib/unistr.h b/lib/unistr.h index 79759bc4b..5643ea72b 100644 --- a/lib/unistr.h +++ b/lib/unistr.h @@ -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; @@ -183,22 +183,22 @@ extern int # endif #endif -#ifdef GNULIB_UNISTR_U16_MBTOUC_SAFE +#ifdef GNULIB_UNISTR_U16_MBTOUC # if !HAVE_INLINE extern int - u16_mbtouc_safe (ucs4_t *puc, const uint16_t *s, size_t n); + u16_mbtouc (ucs4_t *puc, const uint16_t *s, size_t n); # else -# include "utf16-ucs4-safe.h" +# include "utf16-ucs4.h" # endif #endif -#ifdef GNULIB_UNISTR_U32_MBTOUC_SAFE +#ifdef GNULIB_UNISTR_U32_MBTOUC # if !HAVE_INLINE extern int - u32_mbtouc_safe (ucs4_t *puc, const uint32_t *s, size_t n); + u32_mbtouc (ucs4_t *puc, const uint32_t *s, size_t n); # else static inline int -u32_mbtouc_safe (ucs4_t *puc, const uint32_t *s, size_t n) +u32_mbtouc (ucs4_t *puc, const uint32_t *s, size_t n) { uint32_t c = *s;