diff options
| author | ruki <[email protected]> | 2026-08-07 10:30:05 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-08-07 10:30:05 +0800 |
| commit | ad0d22ad5c7ca3dfc5fbb561e347d3aae67f07d1 (patch) | |
| tree | 18055b76f30053e68f02ad097ce27a6dca8c2ef9 /core/src/xmake/binutils | |
| parent | 71bc0ee880fa6be6452cbea2dddf00f45ff43c7e (diff) | |
| parent | 4fb5874898c4f7bc4ff5e9fe15f3ba7e5c3f02ed (diff) | |
Merge pull request #7693 from apocelipes/fix/deprecated
fix: fix deprecated warnings
Diffstat (limited to 'core/src/xmake/binutils')
| -rw-r--r-- | core/src/xmake/binutils/ar/extractlib.c | 2 | ||||
| -rw-r--r-- | core/src/xmake/binutils/extractlib.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/xmake/binutils/ar/extractlib.c b/core/src/xmake/binutils/ar/extractlib.c index d9629394a..830eb3275 100644 --- a/core/src/xmake/binutils/ar/extractlib.c +++ b/core/src/xmake/binutils/ar/extractlib.c @@ -212,7 +212,7 @@ tb_bool_t xm_binutils_ar_extract(tb_stream_ref_t istream, tb_char_t const *outpu ok = tb_false; } - tb_stream_clos(ostream); + tb_stream_close(ostream); tb_stream_exit(ostream); tb_check_break(ok); 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); } |
