未验证 提交 f967a815 编写于 作者: O openharmony_ci 提交者: Gitee

!765 jemalloc dfx接口bugfix

Merge pull request !765 from 陈杰/1230-je-dfx
......@@ -1323,7 +1323,7 @@ int mallopt(int param, int value)
#endif
{
#ifdef USE_JEMALLOC_DFX_INTF
return je_mallopt(int param, int value);
return je_mallopt(param, value);
#endif
return 0;
}
......
......@@ -233,7 +233,7 @@ int malloc_info(int options, FILE* fp)
#ifdef USE_JEMALLOC_DFX_INTF
extern struct mallinfo je_mallinfo();
extern je_malloc_stats_print(void (*write_cb)(void *, const char *), void *cbopaque,
extern void je_malloc_stats_print(void (*write_cb)(void *, const char *), void *cbopaque,
const char *opts);
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册