mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-11-16 12:34:33 +00:00
[Kernel] declare more APIs in module
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user