libc: Remove unused (and public) locale_isstrict()
authorJohn Marino <draco@marino.st>
Sun, 25 Oct 2015 07:19:14 +0000 (08:19 +0100)
committerJohn Marino <draco@marino.st>
Sun, 25 Oct 2015 07:29:31 +0000 (08:29 +0100)
commit8b782268390a23810a1ec1556eabfde8a8b79177
treec11844903a2f7067c2761cb2ae26542afedbd9af
parente384ab1b667a39e2ef6a0033505110186e5a90ff
libc: Remove unused (and public) locale_isstrict()

The publicly exposed locale_isstrict function is not hooked into anything.
It was intended to implement LOCALE_STRICT environment variable handling,
but it only returns a boolean based on the value of LOCALE_STRICT, and not
even efficiently.

There is also a private "strict_mode" variable in locale_private.h that
apparently was intended to be used with LOCALE_STRICT, but it's also
seemingly useless.

The LOCALE_STRICT override still needs to be implemented if UTF-8B is
in use, but it can be handled at encoding initialization more
efficiently later.
include/locale.h
lib/libc/locale/Makefile.inc
lib/libc/locale/Symbol.map
lib/libc/locale/locale_isstrict.c [deleted file]
lib/libc/locale/xlocale_private.h