From 48d6d1fd6d3597aad9300c428995c1549aa377af Mon Sep 17 00:00:00 2001 From: fros4943 Date: Tue, 9 Mar 2010 08:14:31 +0000 Subject: [PATCH] removed no longer used cooja/contiki synchronization variables --- platform/cooja/lib/simEnvChange.c | 4 +--- platform/cooja/lib/simEnvChange.h | 6 ++---- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/platform/cooja/lib/simEnvChange.c b/platform/cooja/lib/simEnvChange.c index 4faba58d3..6d40a2ed9 100644 --- a/platform/cooja/lib/simEnvChange.c +++ b/platform/cooja/lib/simEnvChange.c @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: simEnvChange.c,v 1.8 2009/05/26 14:08:51 fros4943 Exp $ + * $Id: simEnvChange.c,v 1.9 2010/03/09 08:14:31 fros4943 Exp $ */ #include "lib/simEnvChange.h" @@ -38,8 +38,6 @@ extern const struct simInterface *simInterfaces[]; char simDontFallAsleep = 0; -char simNoYield = 0; -char simDoReceiverCallback = 0; int simProcessRunValue; int simEtimerPending; diff --git a/platform/cooja/lib/simEnvChange.h b/platform/cooja/lib/simEnvChange.h index 18527a1ac..cb1cf3ef0 100644 --- a/platform/cooja/lib/simEnvChange.h +++ b/platform/cooja/lib/simEnvChange.h @@ -26,7 +26,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: simEnvChange.h,v 1.8 2009/05/26 14:08:51 fros4943 Exp $ + * $Id: simEnvChange.h,v 1.9 2010/03/09 08:14:31 fros4943 Exp $ */ #ifndef __SIMENVCHANGE_H__ @@ -34,7 +34,7 @@ #include "contiki.h" -// Simulation interface structure +/* Simulation interface structure */ struct simInterface { void (* doActionsBeforeTick) (void); void (* doActionsAfterTick) (void); @@ -48,8 +48,6 @@ extern clock_time_t simCurrentTime; // Variable that when set to != 0, stops the mote from falling asleep next tick extern char simDontFallAsleep; -extern char simNoYield; -extern char simDoReceiverCallback; // Definition for registering an interface #define SIM_INTERFACE(name, doActionsBeforeTick, doActionsAfterTick) \