Remove compiler warnings

This commit is contained in:
adamdunkels 2010-01-19 13:08:24 +00:00
parent 0d559a286d
commit 6f72ff7af1

View file

@ -42,21 +42,12 @@
*
* This file is part of the Contiki operating system.
*
* @(#)$Id: rtimer.c,v 1.6 2009/12/08 23:55:17 adamdunkels Exp $
* @(#)$Id: rtimer.c,v 1.7 2010/01/19 13:08:24 adamdunkels Exp $
*/
#include "sys/rtimer.h"
#include "contiki.h"
#ifdef RTIMER_CONF_NUM
#define LIST_SIZE RTIMER_CONF_NUM
#else
#define LIST_SIZE 8
#endif
static struct rtimer *rtimers[LIST_SIZE];
static u8_t next, firstempty;
#define DEBUG 0
#if DEBUG
#include <stdio.h>
@ -71,8 +62,6 @@ static struct rtimer *next_rtimer;
void
rtimer_init(void)
{
next = 0;
firstempty = 0;
rtimer_arch_init();
}
/*---------------------------------------------------------------------------*/