From 4fb5874898c4f7bc4ff5e9fe15f3ba7e5c3f02ed Mon Sep 17 00:00:00 2001 From: apocelipes Date: Thu, 6 Aug 2026 18:30:22 +0800 Subject: fix: fix deprecated warnings Replace all functions marked as deprecated by tbox. --- core/src/xmake/binutils/extractlib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/src/xmake/binutils/extractlib.c') diff --git a/core/src/xmake/binutils/extractlib.c b/core/src/xmake/binutils/extractlib.c index fbfbacfef..735859ade 100644 --- a/core/src/xmake/binutils/extractlib.c +++ b/core/src/xmake/binutils/extractlib.c @@ -129,7 +129,7 @@ tb_int_t xm_binutils_extractlib(lua_State *lua) { } while (0); if (istream) { - tb_stream_clos(istream); + tb_stream_close(istream); tb_stream_exit(istream); } -- cgit v1.3.1