summaryrefslogtreecommitdiff
path: root/libc/misc/wchar/wchar.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-21 19:11:56 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-21 19:11:56 +0000
commit04bb057e1b198eec7a67a4ecc810a07c2c8a24e2 (patch)
tree8ba20b6741df7432c21156d01fc8f7d9e2d03011 /libc/misc/wchar/wchar.c
parent25fbf2080e743bc6ddd3674789d8836b185cb924 (diff)
Hide some more
Diffstat (limited to 'libc/misc/wchar/wchar.c')
-rw-r--r--libc/misc/wchar/wchar.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libc/misc/wchar/wchar.c b/libc/misc/wchar/wchar.c
index e3553166d..c9eb8df39 100644
--- a/libc/misc/wchar/wchar.c
+++ b/libc/misc/wchar/wchar.c
@@ -176,12 +176,12 @@ extern size_t _wchar_wcsntoutf8s(char *__restrict s, size_t n,
/* glibc extensions. */
extern size_t __mbsnrtowcs(wchar_t *__restrict dst,
- const char **__restrict src,
- size_t NMC, size_t len, mbstate_t *__restrict ps);
+ const char **__restrict src,
+ size_t NMC, size_t len, mbstate_t *__restrict ps) attribute_hidden;
extern size_t __wcsnrtombs(char *__restrict dst,
- const wchar_t **__restrict src,
- size_t NWC, size_t len, mbstate_t *__restrict ps);
+ const wchar_t **__restrict src,
+ size_t NWC, size_t len, mbstate_t *__restrict ps) attribute_hidden;
/**********************************************************************/
#ifdef L_btowc
@@ -679,7 +679,7 @@ size_t _wchar_wcsntoutf8s(char *__restrict s, size_t n,
/* WARNING: We treat len as SIZE_MAX when dst is NULL! */
-size_t __mbsnrtowcs(wchar_t *__restrict dst, const char **__restrict src,
+size_t attribute_hidden __mbsnrtowcs(wchar_t *__restrict dst, const char **__restrict src,
size_t NMC, size_t len, mbstate_t *__restrict ps)
{
static mbstate_t mbstate; /* Rely on bss 0-init. */
@@ -791,7 +791,7 @@ size_t mbsnrtowcs(wchar_t *__restrict dst, const char **__restrict src,
/* Note: We completely ignore ps in all currently supported conversions.
* TODO: Check for valid state anyway? */
-size_t __wcsnrtombs(char *__restrict dst, const wchar_t **__restrict src,
+size_t attribute_hidden __wcsnrtombs(char *__restrict dst, const wchar_t **__restrict src,
size_t NWC, size_t len, mbstate_t *__restrict ps)
{
const __uwchar_t *s;