Updated API to avoid compiler warnings (added const)
This commit is contained in:
parent
b65972d32d
commit
c8c5ddd99d
|
@ -49,7 +49,7 @@
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
void
|
void
|
||||||
collect_view_construct_message(struct collect_view_data_msg *msg,
|
collect_view_construct_message(struct collect_view_data_msg *msg,
|
||||||
rimeaddr_t *parent,
|
const rimeaddr_t *parent,
|
||||||
uint16_t parent_etx,
|
uint16_t parent_etx,
|
||||||
uint16_t current_rtmetric,
|
uint16_t current_rtmetric,
|
||||||
uint16_t num_neighbors,
|
uint16_t num_neighbors,
|
||||||
|
|
|
@ -23,7 +23,7 @@ struct collect_view_data_msg {
|
||||||
};
|
};
|
||||||
|
|
||||||
void collect_view_construct_message(struct collect_view_data_msg *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 etx_to_parent,
|
||||||
uint16_t current_rtmetric,
|
uint16_t current_rtmetric,
|
||||||
uint16_t num_neighbors,
|
uint16_t num_neighbors,
|
||||||
|
|
Loading…
Reference in a new issue