Added the const keyword to IP address arguments that are not (and should not be) changed by the callee
This commit is contained in:
parent
7b59e1dbe7
commit
f9cb6ec2fa
12 changed files with 40 additions and 40 deletions
|
@ -245,7 +245,7 @@ void rpl_remove_header(void);
|
|||
uint8_t rpl_invert_header(void);
|
||||
uip_ipaddr_t *rpl_get_parent_ipaddr(rpl_parent_t *nbr);
|
||||
rpl_rank_t rpl_get_parent_rank(uip_lladdr_t *addr);
|
||||
uint16_t rpl_get_parent_link_metric(uip_lladdr_t *addr);
|
||||
uint16_t rpl_get_parent_link_metric(const uip_lladdr_t *addr);
|
||||
void rpl_dag_init(void);
|
||||
/*---------------------------------------------------------------------------*/
|
||||
#endif /* RPL_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue