core/net/rpl/rpl.h: fix warning: function declaration isn't a prototype

This commit is contained in:
Joakim Nohlgård 2016-03-02 07:00:57 +01:00 committed by Joakim Gebart
parent 52e7ea9cc4
commit d7d836fda0

View file

@ -179,7 +179,7 @@ typedef struct rpl_instance rpl_instance_t;
* update_metric_container(dag) * update_metric_container(dag)
* *
* Updates the metric container for outgoing DIOs in a certain DAG. * Updates the metric container for outgoing DIOs in a certain DAG.
* If the objective function of the DAG does not use metric containers, * If the objective function of the DAG does not use metric containers,
* the function should set the object type to RPL_DAG_MC_NONE. * the function should set the object type to RPL_DAG_MC_NONE.
*/ */
struct rpl_of { struct rpl_of {
@ -257,7 +257,7 @@ rpl_rank_t rpl_get_parent_rank(uip_lladdr_t *addr);
uint16_t rpl_get_parent_link_metric(const uip_lladdr_t *addr); uint16_t rpl_get_parent_link_metric(const uip_lladdr_t *addr);
void rpl_dag_init(void); void rpl_dag_init(void);
uip_ds6_nbr_t *rpl_get_nbr(rpl_parent_t *parent); uip_ds6_nbr_t *rpl_get_nbr(rpl_parent_t *parent);
void rpl_print_neighbor_list(); void rpl_print_neighbor_list(void);
/* Per-parent RPL information */ /* Per-parent RPL information */
NBR_TABLE_DECLARE(rpl_parents); NBR_TABLE_DECLARE(rpl_parents);