Added function prototypes to a number of functions with void arguments

This commit is contained in:
Adam Dunkels 2013-08-11 23:46:26 +02:00 committed by Simon Duquennoy
parent 82e8eb420d
commit b42ccaed1b
3 changed files with 3 additions and 4 deletions

View File

@ -157,7 +157,7 @@ nbr_set_bit(uint8_t *bitmap, nbr_table_t *table, nbr_table_item_t *item, int val
}
/*---------------------------------------------------------------------------*/
static nbr_table_key_t *
nbr_table_allocate()
nbr_table_allocate(void)
{
nbr_table_key_t *key;
int least_used_count = 0;

View File

@ -79,7 +79,7 @@ rpl_instance_t instance_table[RPL_MAX_INSTANCES];
rpl_instance_t *default_instance;
/*---------------------------------------------------------------------------*/
void
rpl_dag_init()
rpl_dag_init(void)
{
nbr_table_register(rpl_parents, (nbr_table_callback *)rpl_remove_parent);
}

View File

@ -200,10 +200,9 @@ uip_ds6_link_neighbor_callback(int status, int numtx)
#endif /* UIP_DS6_LL_NUD */
}
/*---------------------------------------------------------------------------*/
void
uip_ds6_neighbor_periodic()
uip_ds6_neighbor_periodic(void)
{
/* Periodic processing on neighbors */
uip_ds6_nbr_t *nbr = nbr_table_head(ds6_neighbors);