diff options
author | Bruno Haible <bruno@clisp.org> | 2020-02-23 14:16:53 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-02-23 14:24:45 +0100 |
commit | 292fd5d6ff5ecce81ec3c648f353732a9ece83c0 (patch) | |
tree | f6082eca5a67e766b7c81a933f3b65e18b185698 /lib/uniwbrk.in.h | |
parent | e76aacf4675af4aa9591b0a0e9879b375780bd8b (diff) | |
download | gnulib-292fd5d6ff5ecce81ec3c648f353732a9ece83c0.tar.gz |
uni*/base: Use 'restrict'.
* lib/unitypes.in.h (_UC_RESTRICT): New macro, based on '_Restrict_'
from lib/regex.h.
* lib/unistr.in.h (u8_cpy, u16_cpy, u32_cpy, u8_strcpy, u16_strcpy,
u32_strcpy, u8_stpcpy, u16_stpcpy, u32_stpcpy, u8_strncpy, u16_strncpy,
u32_strncpy, u8_stpncpy, u16_stpncpy, u32_stpncpy, u8_strcat,
u16_strcat, u32_strcat, u8_strncat, u16_strncat, u32_strncat, u8_strtok,
u16_strtok, u32_strtok): Use '_UC_RESTRICT'.
* lib/uninorm.in.h (u8_normalize, u16_normalize, u32_normalize): Use
'_UC_RESTRICT'.
* lib/uniconv.in.h (u8_conv_to_encoding, u16_conv_to_encoding,
u32_conv_to_encoding): Use '_UC_RESTRICT'.
* lib/unicase.in.h (u8_toupper, u16_toupper, u32_toupper, u8_tolower,
u16_tolower, u32_tolower, u8_totitle, u16_totitle, u32_totitle,
u8_ct_toupper, u16_ct_toupper, u32_ct_toupper, u8_ct_tolower,
u16_ct_tolower, u32_ct_tolower, u8_ct_totitle, u16_ct_totitle,
u32_ct_totitle, u8_casefold, u16_casefold, u32_casefold, u8_ct_casefold,
u16_ct_casefold, u32_ct_casefold, u8_casexfrm, u16_casexfrm,
u32_casexfrm, ulc_casexfrm): Use '_UC_RESTRICT'.
* lib/unilbrk.in.h (u8_possible_linebreaks, u16_possible_linebreaks,
u32_possible_linebreaks, ulc_possible_linebreaks, u8_width_linebreaks,
u16_width_linebreaks, u32_width_linebreaks, ulc_width_linebreaks): Use
'_UC_RESTRICT'.
* lib/uniwbrk.in.h (ulc_wordbreaks): Use '_UC_RESTRICT'.
* lib/unistdio.in.h (ulc_sprintf, ulc_snprintf, ulc_asnprintf,
ulc_vsprintf, ulc_vsnprintf, ulc_vasnprintf, u8_u8_sprintf,
u8_u8_snprintf, u8_u8_asnprintf, u8_u8_vsprintf, u8_u8_vsnprintf,
u8_u8_vasnprintf, u16_u16_sprintf, u16_u16_snprintf, u16_u16_asnprintf,
u16_u16_vsprintf, u16_u16_vsnprintf, u16_u16_vasnprintf,
u32_u32_sprintf, u32_u32_snprintf, u32_u32_asnprintf, u32_u32_vsprintf,
u32_u32_vsnprintf, u32_u32_vasnprintf): Use '_UC_RESTRICT'.
Diffstat (limited to 'lib/uniwbrk.in.h')
-rw-r--r-- | lib/uniwbrk.in.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/uniwbrk.in.h b/lib/uniwbrk.in.h index 1407644c0d..136aad0572 100644 --- a/lib/uniwbrk.in.h +++ b/lib/uniwbrk.in.h @@ -81,7 +81,7 @@ extern void extern void u32_wordbreaks (const uint32_t *s, size_t n, char *p); extern void - ulc_wordbreaks (const char *s, size_t n, char *p); + ulc_wordbreaks (const char *s, size_t n, char *_UC_RESTRICT p); /* ========================================================================= */ |