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

@ -32,7 +32,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: rimeroute.c,v 1.2 2009/09/29 16:02:28 nvt-se Exp $
* $Id: rimeroute.c,v 1.3 2009/11/08 19:40:18 adamdunkels Exp $
*/
/**
* \file
@ -80,7 +80,7 @@ void uip_log(char *msg);
#define PACKET_TIMEOUT (CLOCK_SECOND * RIMEROUTE_CONF_DISCOVERY_TIMEOUT)
#endif /* RIMEROUTE_CONF_DISCOVERY_TIMEOUT */
static void found_route(struct route_discovery_conn *, rimeaddr_t *);
static void found_route(struct route_discovery_conn *, const rimeaddr_t *);
static void route_timed_out(struct route_discovery_conn *);
static int activate(void);
@ -123,7 +123,7 @@ PROCESS_THREAD(rimeroute_process, ev, data)
}
static void
found_route(struct route_discovery_conn *rdc, rimeaddr_t *dest)
found_route(struct route_discovery_conn *rdc, const rimeaddr_t *dest)
{
}