diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-09-05 03:16:15 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-09-05 03:16:15 +0000 |
commit | 9a429b0d2263bff179436e11aedd8607a30e445d (patch) | |
tree | 2e10dcca448d30a69a66b85e910591c02281a79d /lib/libc/locale/rune_local.h | |
parent | 5fa20654190f944a2de98b5be63bb85423ae44b2 (diff) |
New POSIX xlocale implementation written from scratch.
Complete in the sense that all POSIX *locale(3) and *_l(3) functions
are included, but in OpenBSD, we of course only really care about
LC_CTYPE and we only support ASCII and UTF-8.
With important help from kettenis@, guenther@, and jca@.
Repeated testing in ports bulk builds by naddy@.
Additional testing by jca@, sebastia@, dcoppa@, and others.
OK kettenis@ dcoppa@, and guenther@ on an earlier version.
Riding guenther@'s libc/librthread major bump.
Diffstat (limited to 'lib/libc/locale/rune_local.h')
-rw-r--r-- | lib/libc/locale/rune_local.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lib/libc/locale/rune_local.h b/lib/libc/locale/rune_local.h index 43428a0b888..d2967475e0a 100644 --- a/lib/libc/locale/rune_local.h +++ b/lib/libc/locale/rune_local.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rune_local.h,v 1.6 2017/08/05 15:16:32 schwarze Exp $ */ +/* $OpenBSD: rune_local.h,v 1.7 2017/09/05 03:16:13 schwarze Exp $ */ /* $NetBSD: rune_local.h,v 1.7 2003/03/02 22:18:15 tshiozak Exp $ */ /*- @@ -35,16 +35,11 @@ __BEGIN_HIDDEN_DECLS /* rune.c */ extern _RuneLocale *_Read_RuneMagi(FILE *fp); -/* setrunelocale.c */ -extern int _xpg4_setrunelocale(const char *); -extern _RuneLocale *_findrunelocale(const char *); -extern int _newrunelocale(const char *); - /* runeglue.c */ extern int __make_ctype_tabs(_RuneLocale *); /* ___runetype_mb.c */ -extern _RuneType ___runetype_mb(wint_t); +extern _RuneType ___runetype_mb(wint_t, _RuneLocale *); __END_HIDDEN_DECLS |