Updated API to avoid compiler warnings (added const)

This commit is contained in:
Niclas Finne 2012-01-21 10:54:44 +01:00
parent b65972d32d
commit c8c5ddd99d
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@
/*---------------------------------------------------------------------------*/
void
collect_view_construct_message(struct collect_view_data_msg *msg,
rimeaddr_t *parent,
const rimeaddr_t *parent,
uint16_t parent_etx,
uint16_t current_rtmetric,
uint16_t num_neighbors,

View file

@ -23,7 +23,7 @@ struct collect_view_data_msg {
};
void collect_view_construct_message(struct collect_view_data_msg *msg,
rimeaddr_t *parent,
const rimeaddr_t *parent,
uint16_t etx_to_parent,
uint16_t current_rtmetric,
uint16_t num_neighbors,