Fixed compiler warnings

This commit is contained in:
adamdunkels 2007-11-17 10:12:19 +00:00
parent 22cb35e9f6
commit 5e7cbff22a
6 changed files with 31 additions and 13 deletions

View file

@ -39,7 +39,7 @@
*
* This file is part of the Contiki operating system.
*
* $Id: rudolph2.c,v 1.1 2007/05/15 08:07:46 adamdunkels Exp $
* $Id: rudolph2.c,v 1.2 2007/11/17 10:13:17 adamdunkels Exp $
*/
/**
@ -185,6 +185,7 @@ send_nack(struct rudolph2_conn *c)
polite_send(&c->c, NACK_TIMEOUT, POLITE_HEADER);
}
/*---------------------------------------------------------------------------*/
#if 0 /* Function below not currently used in the code */
static void
send_next(struct rudolph2_conn *c)
{
@ -212,6 +213,7 @@ send_next(struct rudolph2_conn *c)
}
c->nacks = 0;
}
#endif /* 0 */
/*---------------------------------------------------------------------------*/
static void
sent(struct polite_conn *polite)