From 02ae4dc0f8bb94a663bada651bfa00befd436237 Mon Sep 17 00:00:00 2001 From: Ron Sluiter Date: Thu, 31 Oct 2002 20:46:17 +0000 Subject: [PATCH] Remove fast_lock.h and STATIC. --- motorApp/MotorSrc/motordrvComCode.h | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/motorApp/MotorSrc/motordrvComCode.h b/motorApp/MotorSrc/motordrvComCode.h index d491bafe..dd781c04 100644 --- a/motorApp/MotorSrc/motordrvComCode.h +++ b/motorApp/MotorSrc/motordrvComCode.h @@ -4,9 +4,9 @@ USAGE... This file contains local variables that are allocated in each motor record driver. The variables are allocated in each driver by including this file. -Version: $Revision: 1.2 $ +Version: $Revision: 1.3 $ Modified By: $Author: sluiter $ -Last Modified: $Date: 2002-10-21 21:08:09 $ +Last Modified: $Date: 2002-10-31 20:46:17 $ */ /* @@ -32,19 +32,18 @@ Last Modified: $Date: 2002-10-21 21:08:09 $ #ifndef INCmotordrvComCode #define INCmotordrvComCode 1 -#include #include #include /* --- Local data common to each driver. --- */ -STATIC struct controller **motor_state; -STATIC int total_cards; -STATIC int any_motor_in_motion; -STATIC struct circ_queue mess_queue; /* in message queue head */ -STATIC epicsEvent queue_lock(epicsEventFull); -STATIC struct circ_queue free_list; -STATIC epicsEvent freelist_lock(epicsEventFull); -STATIC epicsEvent motor_sem(epicsEventEmpty); -STATIC bool initialized = false; /* Driver initialized indicator. */ +static struct controller **motor_state; +static int total_cards; +static int any_motor_in_motion; +static struct circ_queue mess_queue; /* in message queue head */ +static epicsEvent queue_lock(epicsEventFull); +static struct circ_queue free_list; +static epicsEvent freelist_lock(epicsEventFull); +static epicsEvent motor_sem(epicsEventEmpty); +static bool initialized = false; /* Driver initialized indicator. */ #endif /* INCmotordrvComCode */