From f0e56df2eb8a4d0c4e6c87ad39e447cb0de7bfd8 Mon Sep 17 00:00:00 2001 From: nifi Date: Tue, 17 Mar 2009 09:57:01 +0000 Subject: [PATCH] fixed compiler warning when timesynch is disabled --- core/net/rime/timesynch.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/core/net/rime/timesynch.c b/core/net/rime/timesynch.c index 4ebeebcd7..d7bee05bd 100644 --- a/core/net/rime/timesynch.c +++ b/core/net/rime/timesynch.c @@ -34,7 +34,7 @@ * * This file is part of the Contiki operating system. * - * $Id: timesynch.c,v 1.7 2009/03/12 21:58:21 adamdunkels Exp $ + * $Id: timesynch.c,v 1.8 2009/03/17 09:57:01 nifi Exp $ */ /** @@ -49,13 +49,10 @@ #include "net/rime.h" #include "dev/cc2420.h" -#include - - +#if TIMESYNCH_CONF_ENABLED static int authority_level; static rtimer_clock_t offset; -#if TIMESYNCH_CONF_ENABLED /*---------------------------------------------------------------------------*/ int timesynch_authority_level(void)