Added the const keyword to IP address arguments that are not (and should not be) changed by the callee

This commit is contained in:
Adam Dunkels 2013-11-16 14:42:57 +01:00
parent 7b59e1dbe7
commit f9cb6ec2fa
12 changed files with 40 additions and 40 deletions

View file

@ -1354,7 +1354,7 @@ send_packet(rimeaddr_t *dest)
* MAC.
*/
static uint8_t
output(uip_lladdr_t *localdest)
output(const uip_lladdr_t *localdest)
{
int framer_hdrlen;