'rpl_init' is now static, rename to 'init'

This commit is contained in:
Simon Duquennoy 2017-12-09 08:27:57 -08:00
parent 8db37afb28
commit ab41114727
2 changed files with 4 additions and 4 deletions

View File

@ -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,
};

View File

@ -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,
};