mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Compiler warning fix
This commit is contained in:
parent
537ecb9198
commit
168765a205
@ -28,7 +28,7 @@
|
||||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: neighbor.c,v 1.1 2007/02/28 16:38:51 adamdunkels Exp $
|
||||
* $Id: neighbor.c,v 1.2 2007/03/15 09:56:15 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -113,6 +113,7 @@ neighbor_add(node_id_t nodeid, u8_t nhopcount, u16_t nsignal)
|
||||
hopcount = 0;
|
||||
signal = USHRT_MAX;
|
||||
|
||||
n = 0;
|
||||
for(i = 0; i < MAX_NEIGHBORS; ++i) {
|
||||
if(neighbors[i].nodeid == 0 ||
|
||||
neighbors[i].nodeid == nodeid) {
|
||||
|
@ -28,7 +28,7 @@
|
||||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: queuebuf.c,v 1.2 2007/03/13 10:28:52 adamdunkels Exp $
|
||||
* $Id: queuebuf.c,v 1.3 2007/03/15 09:56:39 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -40,6 +40,8 @@
|
||||
|
||||
#include "net/rime/queuebuf.h"
|
||||
|
||||
#include <string.h> /* for memcpy() */
|
||||
|
||||
#define QUEUEBUF_NUM 2
|
||||
#define QUEUEBUF_REF_NUM 2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user