[Kernel] declare more APIs in module
This commit is contained in:
parent
898e0d2f3f
commit
dbcb4a1ccf
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue