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