From f9aecdd7fbc2752342c3d18abd30d11e0aacb82a Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Thu, 19 Mar 1998 20:31:27 +0000 Subject: [PATCH] Get rid of warnimg messaage --- src/as/asLibRoutines.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/as/asLibRoutines.c b/src/as/asLibRoutines.c index d2c57862d..0df7a716d 100644 --- a/src/as/asLibRoutines.c +++ b/src/as/asLibRoutines.c @@ -37,6 +37,7 @@ of this distribution. #ifdef vxWorks #include +static FAST_LOCK asLock; #else /*This only works in a single threaded environment */ #define FAST_LOCK int @@ -44,10 +45,9 @@ of this distribution. #define FASTLOCK(PFAST_LOCK) #define FASTUNLOCK(PFAST_LOCK) #endif -static FAST_LOCK asLock; static int asLockInit=TRUE; -int asActive = FALSE; -static void *freeListPvt = NULL; +int asActive = FALSE; +static void *freeListPvt = NULL; /*following must be global because asCa nneeds it*/ ASBASE volatile *pasbase=NULL;