added keywords from shareLib.h

This commit is contained in:
Jeff Hill
1999-11-18 20:46:11 +00:00
parent 3529d5181c
commit 4f0d8c08ad
2 changed files with 9 additions and 7 deletions

View File

@@ -36,8 +36,10 @@ of this distribution.
#include "caeventmask.h"
#include "alarm.h"
#define epicsExportSharedSymbols
int asCaDebug = 0;
extern ASBASE volatile *pasbase;
epicsShareExtern ASBASE volatile *pasbase;
LOCAL int firstTime = TRUE;
LOCAL threadId threadid=0;
LOCAL int caInitializing=FALSE;

View File

@@ -43,12 +43,12 @@ static semId asLock;
#include "shareLib.h"
#include "asLib.h"
static int asLockInit=TRUE;
int asActive = FALSE;
static void *freeListPvt = NULL;
static int asLockInit=TRUE;
epicsShareDef int asActive = FALSE;
static void *freeListPvt = NULL;
/*following must be global because asCa nneeds it*/
ASBASE volatile *pasbase=NULL;
epicsShareDef ASBASE volatile *pasbase=NULL;
static ASBASE *pasbasenew=NULL;
#define RPCL_LEN 184
@@ -784,7 +784,7 @@ int epicsShareAPI asDumpMem(char *asgname,void (*memcallback)(ASMEMBERPVT),int c
return(0);
}
int epicsShareAPI asDumpHash(void)
epicsShareFunc int epicsShareAPI asDumpHash(void)
{
if(!asActive) return(0);
gphDump(pasbase->phash);
@@ -793,7 +793,7 @@ int epicsShareAPI asDumpHash(void)
/*Start of private routines*/
/* asCalloc is "friend" function */
void * asCalloc(size_t nobj,size_t size)
epicsShareFunc void * epicsShareAPI asCalloc(size_t nobj,size_t size)
{
void *p;