'rpl_init' is now static, rename to 'init'
This commit is contained in:
parent
8db37afb28
commit
ab41114727
|
@ -330,7 +330,7 @@ rpl_purge_dags(void)
|
|||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
static void
|
||||
rpl_init(void)
|
||||
init(void)
|
||||
{
|
||||
uip_ipaddr_t rplmaddr;
|
||||
PRINTF("RPL started\n");
|
||||
|
@ -355,7 +355,7 @@ rpl_init(void)
|
|||
/*---------------------------------------------------------------------------*/
|
||||
const struct routing_driver rpl_classic_driver = {
|
||||
"RPL Classic",
|
||||
rpl_init,
|
||||
init,
|
||||
rpl_dag_root_set_prefix,
|
||||
rpl_dag_root_start,
|
||||
};
|
||||
|
|
|
@ -177,7 +177,7 @@ rpl_set_prefix(rpl_prefix_t *prefix)
|
|||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
static void
|
||||
rpl_init(void)
|
||||
init(void)
|
||||
{
|
||||
LOG_INFO("initializing\n");
|
||||
|
||||
|
@ -195,7 +195,7 @@ rpl_init(void)
|
|||
/*---------------------------------------------------------------------------*/
|
||||
const struct routing_driver rpl_lite_driver = {
|
||||
"RPL Lite",
|
||||
rpl_init,
|
||||
init,
|
||||
rpl_dag_root_set_prefix,
|
||||
rpl_dag_root_start,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue