Made rimeaddr_t pointers const where they should be.
This commit is contained in:
parent
8c040be133
commit
56218aba3b
32 changed files with 108 additions and 97 deletions
|
@ -53,7 +53,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: rmh.h,v 1.7 2009/03/08 21:43:25 adamdunkels Exp $
|
||||
* $Id: rmh.h,v 1.8 2009/11/08 19:40:17 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -80,9 +80,9 @@ struct rmh_conn;
|
|||
struct rmh_callbacks {
|
||||
void (* recv)(struct rmh_conn *ptr, rimeaddr_t *sender, uint8_t hops);
|
||||
rimeaddr_t *(* forward)(struct rmh_conn *ptr,
|
||||
rimeaddr_t *originator,
|
||||
rimeaddr_t *dest,
|
||||
rimeaddr_t *prevhop,
|
||||
const rimeaddr_t *originator,
|
||||
const rimeaddr_t *dest,
|
||||
const rimeaddr_t *prevhop,
|
||||
uint8_t hops);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue