Add function to unregister a module from LPM
This commit is contained in:
parent
0e92b508b3
commit
b3ac3ac0c1
2 changed files with 15 additions and 0 deletions
|
@ -390,6 +390,12 @@ lpm_register_module(lpm_registered_module_t *module)
|
|||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
void
|
||||
lpm_unregister_module(lpm_registered_module_t *module)
|
||||
{
|
||||
list_remove(modules_list, module);
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
void
|
||||
lpm_init()
|
||||
{
|
||||
list_init(modules_list);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue