core/net/rpl/rpl-dag.c: 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 2e47bf9cdc
commit 52e7ea9cc4

View file

@ -88,7 +88,7 @@ rpl_instance_t *default_instance;
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
void void
rpl_print_neighbor_list() rpl_print_neighbor_list(void)
{ {
if(default_instance != NULL && default_instance->current_dag != NULL && if(default_instance != NULL && default_instance->current_dag != NULL &&
default_instance->of != NULL && default_instance->of->calculate_rank != NULL) { default_instance->of != NULL && default_instance->of->calculate_rank != NULL) {