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
|
@ -97,7 +97,7 @@ int nbr_table_unlock(nbr_table_t *table, nbr_table_item_t *item);
|
|||
|
||||
/** \name Neighbor tables: address manipulation */
|
||||
/** @{ */
|
||||
rimeaddr_t *nbr_table_get_lladdr(nbr_table_t *table, nbr_table_item_t *item);
|
||||
rimeaddr_t *nbr_table_get_lladdr(nbr_table_t *table, const nbr_table_item_t *item);
|
||||
/** @} */
|
||||
|
||||
#endif /* _NBR_TABLE_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue