source: asp3_tinet_ecnl_rx/trunk/musl-1.1.18/src/locale/__lctrans.c@ 337

Last change on this file since 337 was 337, checked in by coas-nagasima, 6 years ago

ASP3版ECNLを追加

  • Property svn:eol-style set to native
  • Property svn:mime-type set to text/x-csrc;charset=UTF-8
File size: 431 bytes
Line 
1#include <locale.h>
2#include "locale_impl.h"
3#include "libc.h"
4
5static const char *dummy(const char *msg, const struct __locale_map *lm)
6{
7 return msg;
8}
9
10#ifndef __c2__
11weak_alias(dummy, __lctrans_impl);
12#endif
13
14const char *__lctrans(const char *msg, const struct __locale_map *lm)
15{
16 return __lctrans_impl(msg, lm);
17}
18
19const char *__lctrans_cur(const char *msg)
20{
21 return __lctrans_impl(msg, CURRENT_LOCALE->cat[LC_MESSAGES]);
22}
Note: See TracBrowser for help on using the repository browser.