Updated API to avoid compiler warnings (added const)
This commit is contained in:
parent
b65972d32d
commit
c8c5ddd99d
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue