Made rimeaddr_t pointers const where they should be.

This commit is contained in:
adamdunkels 2009-11-08 19:40:16 +00:00
parent 8c040be133
commit 56218aba3b
32 changed files with 108 additions and 97 deletions

View file

@ -33,7 +33,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: netflood.c,v 1.3 2009/03/12 21:58:21 adamdunkels Exp $
* $Id: netflood.c,v 1.4 2009/11/08 19:40:17 adamdunkels Exp $
*/
/**
@ -73,7 +73,7 @@ send(struct netflood_conn *c)
}
/*---------------------------------------------------------------------------*/
static void
recv_from_ipolite(struct ipolite_conn *ipolite, rimeaddr_t *from)
recv_from_ipolite(struct ipolite_conn *ipolite, const rimeaddr_t *from)
{
struct netflood_conn *c = (struct netflood_conn *)ipolite;
struct netflood_hdr *hdr = packetbuf_dataptr();