Jilles Tjoelker 1f04a45950 libc: Do not refer to _DefaultRuneLocale in ctype inlines
Referring to _DefaultRuneLocale causes this >4KB structure to be copied to
all executables that use <ctype.h> inlines (except PIE executables).

This only affects the case where thread local storage is available.

_CurrentRuneLocale cannot be NULL, so the check can be removed entirely.

_DefaultRuneLocale needs to remain available for now since libc++ uses it.
The __isctype inline in include/_ctype.h also refers to _DefaultRuneLocale
and remains available because it may still be used by third party software.

Reviewed by:	bdrewery, theraven
Differential Revision:	https://reviews.freebsd.org/D10363
2017-10-22 20:01:07 +00:00
..
2016-03-04 22:03:38 +00:00
2016-04-30 14:43:42 +00:00
2017-05-23 09:29:05 +00:00
2017-07-09 16:57:24 +00:00
2017-06-15 07:15:05 +00:00
2016-07-28 10:05:41 +00:00
2017-02-16 20:28:30 +00:00
2017-03-19 00:51:12 +00:00
2017-03-22 19:00:41 +00:00
2016-05-30 16:26:34 +00:00