Remove compiler warnings

This commit is contained in:
adamdunkels 2010-01-19 13:08:24 +00:00
parent 0d559a286d
commit 6f72ff7af1
1 changed files with 1 additions and 12 deletions

View File

@ -42,21 +42,12 @@
* *
* This file is part of the Contiki operating system. * 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 "sys/rtimer.h"
#include "contiki.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 #define DEBUG 0
#if DEBUG #if DEBUG
#include <stdio.h> #include <stdio.h>
@ -71,8 +62,6 @@ static struct rtimer *next_rtimer;
void void
rtimer_init(void) rtimer_init(void)
{ {
next = 0;
firstempty = 0;
rtimer_arch_init(); rtimer_arch_init();
} }
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/