(M. Davidsaver): Use ELLLIST init macros.

This commit is contained in:
Andrew Johnson
2009-07-09 18:37:26 +00:00
parent 9663cd58f1
commit 0fb320c263
6 changed files with 9 additions and 20 deletions
+2 -4
View File
@@ -95,7 +95,7 @@ typedef struct inputFile{
FILE *fp;
int line_num;
}inputFile;
static ELLLIST inputFileList;
static ELLLIST inputFileList = ELLLIST_INIT;
static inputFile *pinputFileNow = NULL;
static DBBASE *pdbbase = NULL;
@@ -105,7 +105,7 @@ typedef struct tempListNode {
void *item;
}tempListNode;
static ELLLIST tempList;
static ELLLIST tempList = ELLLIST_INIT;
static void *freeListPvt = NULL;
static int duplicate = FALSE;
@@ -212,8 +212,6 @@ static long dbReadCOM(DBBASE **ppdbbase,const char *filename, FILE *fp,
}
}
my_buffer = dbCalloc(MY_BUFFER_SIZE,sizeof(char));
ellInit(&inputFileList);
ellInit(&tempList);
freeListInitPvt(&freeListPvt,sizeof(tempListNode),100);
if(substitutions) {
if(macCreateHandle(&macHandle,NULL)) {