Simplify wctype() and wctype_l(): we have one set of classification
authorguenther <guenther@openbsd.org>
Mon, 25 Jul 2022 21:38:24 +0000 (21:38 +0000)
committerguenther <guenther@openbsd.org>
Mon, 25 Jul 2022 21:38:24 +0000 (21:38 +0000)
commit703df344475716be7a0c10a8d70b7df7e0e1feb2
tree54d284bc05e5647981738069ebd907d83283a412
parent49ecb85ef92650fa662e41ea375d737b05220a2e
Simplify wctype() and wctype_l(): we have one set of classification
types used by all (== both) locales; put their implementation in one
file and make the mapping static there.  The rl_wctype member of
_RuneLocale and its initialization go away at the same time.

ok schwarze@
lib/libc/hidden/wctype.h
lib/libc/locale/Makefile.inc
lib/libc/locale/iswctype.c
lib/libc/locale/iswctype_l.c
lib/libc/locale/rune.c
lib/libc/locale/runetable.c
lib/libc/locale/runetype.h
lib/libc/locale/wctype.c [new file with mode: 0644]