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-unicast.c,v 1.2 2009/09/09 21:06:51 adamdunkels Exp $
* $Id: shell-rime-unicast.c,v 1.3 2009/11/08 19:43:00 adamdunkels Exp $
*/
/**
@ -133,7 +133,7 @@ PROCESS_THREAD(shell_unicast_send_process, ev, data)
}
/*---------------------------------------------------------------------------*/
static void
recv_uc(struct unicast_conn *c, rimeaddr_t *from)
recv_uc(struct unicast_conn *c, const rimeaddr_t *from)
{
struct unicast_msg *msg;
#define OUTPUT_BLOB_HDRSIZE 6