1 #include <locale.h> 2 #include "locale_impl.h" 3 dummy(const char * msg,const struct __locale_map * lm)4static const char *dummy(const char *msg, const struct __locale_map *lm) 5 { 6 return msg; 7 } 8 9 weak_alias(dummy, __lctrans_impl); 10 __lctrans(const char * msg,const struct __locale_map * lm)11const char *__lctrans(const char *msg, const struct __locale_map *lm) 12 { 13 return __lctrans_impl(msg, lm); 14 } 15 __lctrans_cur(const char * msg)16const char *__lctrans_cur(const char *msg) 17 { 18 return __lctrans_impl(msg, CURRENT_LOCALE->cat[LC_MESSAGES]); 19 } 20