diff options
Diffstat (limited to 'src/internal/locale_impl.h')
-rw-r--r-- | src/internal/locale_impl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/internal/locale_impl.h b/src/internal/locale_impl.h index 0ee72d3e..9142f0c2 100644 --- a/src/internal/locale_impl.h +++ b/src/internal/locale_impl.h @@ -13,6 +13,12 @@ struct __locale_map { }; int __setlocalecat(locale_t, int, const char *); +const char *__mo_lookup(const void *, size_t, const char *); +const char *__lctrans(const char *, const struct __locale_map *); +const char *__lctrans_cur(const char *); + +#define LCTRANS(msg, lc, loc) __lctrans(msg, (loc)->cat[(lc)-2]) +#define LCTRANS_CUR(msg) __lctrans_cur(msg) #define CURRENT_LOCALE \ (libc.uselocale_cnt ? __pthread_self()->locale : &libc.global_locale) |