Made rimeaddr_t pointers const when they should be

This commit is contained in:
adamdunkels 2009-11-08 19:42:59 +00:00
parent 56218aba3b
commit 01442326b2
7 changed files with 22 additions and 19 deletions

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: shell-rime-debug.c,v 1.3 2009/03/12 21:58:20 adamdunkels Exp $
* $Id: shell-rime-debug.c,v 1.4 2009/11/08 19:43:00 adamdunkels Exp $
*/
/**
@ -116,7 +116,7 @@ PROCESS_THREAD(shell_broadcast_process, ev, data)
PROCESS_END();
}
static void
recv_broadcast(struct broadcast_conn *c, rimeaddr_t *from)
recv_broadcast(struct broadcast_conn *c, const rimeaddr_t *from)
{
struct collect_msg *msg;
rtimer_clock_t latency;
@ -188,7 +188,7 @@ PROCESS_THREAD(shell_unicast_process, ev, data)
PROCESS_END();
}
static void
recv_uc(struct unicast_conn *c, rimeaddr_t *from)
recv_uc(struct unicast_conn *c, const rimeaddr_t *from)
{
struct collect_msg *msg;
rtimer_clock_t latency;