diff --git a/core/net/uaodv.c b/core/net/uaodv.c index d33e4717e..a18d3e215 100644 --- a/core/net/uaodv.c +++ b/core/net/uaodv.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: uaodv.c,v 1.25 2007/05/31 10:10:26 bg- Exp $ + * $Id: uaodv.c,v 1.26 2007/05/31 14:24:20 bg- Exp $ */ /** @@ -76,14 +76,17 @@ last_known_seqno(uip_ipaddr_t *host) return 0; } -/* - * When possible, keep state across reboots. - */ +#ifndef NOINIT #ifdef __GNUC__ #define NOINIT __attribute__((section(".noinit"))) #else /* __GNUC__ */ #define NOINIT #endif /* __GNUC__ */ +#endif + +/* + * When possible, keep state across reboots. + */ NOINIT static u32_t rreq_id, my_hseqno; /* In host byte order! */ #define NFWCACHE 16