[Kernel] declare more APIs in module

This commit is contained in:
bernard 2014-03-11 15:44:35 +08:00
parent 898e0d2f3f
commit dbcb4a1ccf
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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);