summaryrefslogtreecommitdiff
path: root/core/src/xmake/machine.c
diff options
context:
space:
mode:
authorruki <[email protected]>2019-07-10 00:34:03 +0800
committerruki <[email protected]>2019-07-09 21:24:23 +0800
commit45c4a826ea4c6ce5967dd37b79ee668367cabcfd (patch)
tree8afff252903ae11ab9765e071683b65404d7012c /core/src/xmake/machine.c
parent568844957830f65aab43c2d309afff64772655c7 (diff)
remove some unused funcs in ansi
Diffstat (limited to 'core/src/xmake/machine.c')
-rw-r--r--core/src/xmake/machine.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/core/src/xmake/machine.c b/core/src/xmake/machine.c
index f8b788aa7..77661a445 100644
--- a/core/src/xmake/machine.c
+++ b/core/src/xmake/machine.c
@@ -119,7 +119,6 @@ tb_int_t xm_hash_sha256(lua_State* lua);
// the windows functions
#ifdef TB_CONFIG_OS_WINDOWS
-tb_int_t xm_winos_mbstoutf8(lua_State* lua);
tb_int_t xm_winos_cp_info(lua_State* lua);
tb_int_t xm_winos_console_cp(lua_State* lua);
tb_int_t xm_winos_console_output_cp(lua_State* lua);
@@ -209,8 +208,7 @@ static luaL_Reg const g_os_functions[] =
#ifdef TB_CONFIG_OS_WINDOWS
static luaL_Reg const g_winos_functions[] =
{
- { "mbstoutf8", xm_winos_mbstoutf8 }
-, { "cp_info", xm_winos_cp_info }
+ { "cp_info", xm_winos_cp_info }
, { "console_cp", xm_winos_console_cp }
, { "console_output_cp", xm_winos_console_output_cp }
, { "oem_cp", xm_winos_oem_cp }