change pdbBase to pdbbase

This commit is contained in:
Marty Kraimer
1995-12-01 16:59:24 +00:00
parent e113a5bed2
commit 2b7d67509e
10 changed files with 87 additions and 90 deletions

View File

@@ -15,7 +15,7 @@
#include <symLib.h>
#include <dbStaticLib.h>
extern struct dbBase *pdbBase;
extern struct dbBase *pdbbase;
#else
#include <sys/time.h>
@@ -193,7 +193,7 @@ static void handle_reclist(BS* bs)
unsigned long names_len;
int s;
dbInitEntry(pdbBase,&db);
dbInitEntry(pdbbase,&db);
names_len=0;
for(rc=dbFirstRecdes(&db);rc==0;rc=dbNextRecdes(&db))

View File

@@ -65,7 +65,7 @@ static void sub_pvname(char*,char*);
#ifdef vxWorks
static DBENTRY* pdbentry;
extern struct dbBase *pdbBase;
extern struct dbBase *pdbbase;
#endif
%}
@@ -243,7 +243,7 @@ int dbLoadRecords(char* pfilename, char* pattern)
DB_APP_NODE* an;
#ifdef vxWorks
if(pdbBase==NULL)
if(pdbbase==NULL)
{
fprintf(stderr,"dbLoadRecords: default.dctsdr file not loaded\n");
return -1;
@@ -275,7 +275,7 @@ int dbLoadRecords(char* pfilename, char* pattern)
}
#ifdef vxWorks
pdbentry=dbAllocEntry(pdbBase);
pdbentry=dbAllocEntry(pdbbase);
#endif
yyparse();