argument must be qualified as const
This commit is contained in:
parent
c5ecde4ca0
commit
553589d0bb
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* $Id: example-announcement.c,v 1.1 2009/03/08 20:27:42 adamdunkels Exp $
|
* $Id: example-announcement.c,v 1.2 2009/12/28 18:18:23 nvt-se Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -54,7 +54,7 @@ PROCESS(example_announcement_process, "Example announcement process");
|
||||||
AUTOSTART_PROCESSES(&example_announcement_process);
|
AUTOSTART_PROCESSES(&example_announcement_process);
|
||||||
/*---------------------------------------------------------------------------*/
|
/*---------------------------------------------------------------------------*/
|
||||||
static void
|
static void
|
||||||
received_announcement(struct announcement *a, rimeaddr_t *from,
|
received_announcement(struct announcement *a, const rimeaddr_t *from,
|
||||||
uint16_t id, uint16_t value)
|
uint16_t id, uint16_t value)
|
||||||
{
|
{
|
||||||
/* We set our own announced value to one plus that of our neighbor. */
|
/* We set our own announced value to one plus that of our neighbor. */
|
||||||
|
|
Loading…
Reference in a new issue