提交 dbcb4a1c 编写于 作者: B bernard

[Kernel] declare more APIs in module

上级 898e0d2f
......@@ -434,6 +434,9 @@ void rt_module_load_sethook(void (*hook)(rt_module_t module));
void rt_module_unload_sethook(void (*hook)(rt_module_t module));
#endif
void rt_module_init_object_container(struct rt_module *module);
rt_err_t rt_module_destroy(rt_module_t module);
/*@}*/
#endif
......
......@@ -242,7 +242,7 @@ static int rt_module_arm_relocate(struct rt_module *module,
return 0;
}
static void rt_module_init_object_container(struct rt_module *module)
void rt_module_init_object_container(struct rt_module *module)
{
RT_ASSERT(module != RT_NULL);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册