From 6cb4f91db7a5dc3bca63037ddc5f998a08dc3fb0 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 24 Jul 2014 03:23:11 -0400 Subject: implement locale file loading and state for remaining locale categories there is still no code which actually uses the loaded locale files, so the main observable effect of this commit is that calls to setlocale store and give back the names of the selected locales for the remaining categories (LC_TIME, LC_COLLATE, LC_MONETARY) if a locale file by the requested name could be loaded. --- src/internal/libc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/internal/libc.h') diff --git a/src/internal/libc.h b/src/internal/libc.h index 037d16b6..2eef98e4 100644 --- a/src/internal/libc.h +++ b/src/internal/libc.h @@ -5,9 +5,12 @@ #include #include +struct __locale_map; + struct __locale_struct { int ctype_utf8; char *messages_name; + struct __locale_map *cat[4]; }; struct __libc { -- cgit v1.2.1