diff options
author | tjr <tjr@FreeBSD.org> | 2004-05-12 14:09:04 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2004-05-12 14:09:04 +0000 |
commit | e3f042f4aff04f73fd65f7788919c29bd71cfd1e (patch) | |
tree | 77a339e636541d66b22a5461fcb390f9d11a7785 /lib/libc/locale/table.c | |
parent | 03790daf0ef18da07a62c9461c2f4e9690fdb479 (diff) | |
download | FreeBSD-src-e3f042f4aff04f73fd65f7788919c29bd71cfd1e.zip FreeBSD-src-e3f042f4aff04f73fd65f7788919c29bd71cfd1e.tar.gz |
Move prototypes of various encoding-related functions into a new header
file to avoid extern'ing them all over the place.
Diffstat (limited to 'lib/libc/locale/table.c')
-rw-r--r-- | lib/libc/locale/table.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/libc/locale/table.c b/lib/libc/locale/table.c index 7680b9c..f8b8497 100644 --- a/lib/libc/locale/table.c +++ b/lib/libc/locale/table.c @@ -43,13 +43,7 @@ __FBSDID("$FreeBSD$"); #include <ctype.h> #include <rune.h> #include <wchar.h> - -extern size_t _none_mbrtowc(wchar_t * __restrict, const char * __restrict, size_t, - mbstate_t * __restrict); -extern int _none_mbsinit(const mbstate_t *); -extern size_t _none_wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict); -extern rune_t __emulated_sgetrune(const char *, size_t, const char **); -extern int __emulated_sputrune(rune_t, char *, size_t, char **); +#include "mblocal.h" _RuneLocale _DefaultRuneLocale = { _RUNE_MAGIC_1, |