From 894521916a1ec52c7fe6dbaa545aef27e2fa278e Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Thu, 24 Feb 2000 15:12:07 +0000 Subject: [PATCH] move declaration for pdbbase from iocInit to dbAccess --- src/db/dbAccess.c | 2 +- src/db/iocInit.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/db/dbAccess.c b/src/db/dbAccess.c index 5a91f4312..6fe261fc9 100644 --- a/src/db/dbAccess.c +++ b/src/db/dbAccess.c @@ -67,8 +67,8 @@ of this distribution. #include "special.h" #include "asLib.h" -extern struct dbBase *pdbbase; extern long lset_stack_not_empty; +struct dbBase *pdbbase=NULL; static short mapDBFToDBR[DBF_NTYPES] = { DBR_STRING, DBR_CHAR, DBR_UCHAR, DBR_SHORT, DBR_USHORT, diff --git a/src/db/iocInit.c b/src/db/iocInit.c index 55b1a88d2..b98619c15 100644 --- a/src/db/iocInit.c +++ b/src/db/iocInit.c @@ -82,8 +82,6 @@ LOCAL int initialized=FALSE; /* The following is for use by interrupt routines */ volatile int interruptAccept=FALSE; -struct dbBase *pdbbase=NULL; - /* define forward references*/ LOCAL void initDrvSup(void); LOCAL void initRecSup(void);