summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/table.c
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>2005-02-27 15:11:09 +0000
committerphantom <phantom@FreeBSD.org>2005-02-27 15:11:09 +0000
commit23d961a13f47abb00dde86ee46e2e766a478aca4 (patch)
tree69f481163c9449c668aa58cf3fa5dbc37df51899 /lib/libc/locale/table.c
parent31651f25d817b24f6d2b1ef090ac6120d90ed86a (diff)
downloadFreeBSD-src-23d961a13f47abb00dde86ee46e2e766a478aca4.zip
FreeBSD-src-23d961a13f47abb00dde86ee46e2e766a478aca4.tar.gz
. Static'ize functions exported via function reference variables only.
. Replace inclusion of sys/param.h to sys/cdefs.h and sys/types.h where appropriate. . move _*_init() prototypes to mblocal.h, and remove these prototypes from .c files . use _none_init() in __setrunelocale() instead of duplicating code . move __mb* variables from table.c to none.c allowing us to not to export _none_*() externs, and appropriately remove them from mblocal.h Ok'ed by: tjr
Diffstat (limited to 'lib/libc/locale/table.c')
-rw-r--r--lib/libc/locale/table.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/libc/locale/table.c b/lib/libc/locale/table.c
index f513ceb..7db1b13 100644
--- a/lib/libc/locale/table.c
+++ b/lib/libc/locale/table.c
@@ -251,13 +251,3 @@ _RuneLocale _DefaultRuneLocale = {
_RuneLocale *_CurrentRuneLocale = &_DefaultRuneLocale;
-int __mb_cur_max = 1;
-size_t (*__mbrtowc)(wchar_t * __restrict, const char * __restrict, size_t,
- mbstate_t * __restrict) = _none_mbrtowc;
-int (*__mbsinit)(const mbstate_t *) = _none_mbsinit;
-size_t (*__mbsnrtowcs)(wchar_t * __restrict, const char ** __restrict,
- size_t, size_t, mbstate_t * __restrict) = _none_mbsnrtowcs;
-size_t (*__wcrtomb)(char * __restrict, wchar_t, mbstate_t * __restrict) =
- _none_wcrtomb;
-size_t (*__wcsnrtombs)(char * __restrict, const wchar_t ** __restrict,
- size_t, size_t, mbstate_t * __restrict) = _none_wcsnrtombs;
OpenPOWER on IntegriCloud