From 2eb0ba9a8e773864042cb2fc495e6f8ae6dca63f Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Tue, 20 Jun 2017 15:47:46 +0200 Subject: [PATCH] error: remove fake dependency to dbDefs.h --- src/error/errSymLib.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/error/errSymLib.c b/src/error/errSymLib.c index aa1f3961c..99d81829d 100644 --- a/src/error/errSymLib.c +++ b/src/error/errSymLib.c @@ -32,13 +32,11 @@ #define epicsExportSharedSymbols #include "cantProceed.h" #include "epicsAssert.h" -#include "dbDefs.h" #include "errMdef.h" #include "errSymTbl.h" #include "ellLib.h" #include "errlog.h" - static unsigned short errhash(long errNum); typedef struct errnumnode { @@ -53,7 +51,7 @@ typedef struct errnumnode { static ELLLIST errnumlist = ELLLIST_INIT; static ERRNUMNODE **hashtable; -static int initialized = FALSE; +static int initialized = 0; extern ERRSYMTAB_ID errSymTbl; /**************************************************************** @@ -103,7 +101,7 @@ int epicsShareAPI errSymBld(void) *phashnode = perrNumNode; perrNumNode = (ERRNUMNODE *) ellNext((ELLNODE *) perrNumNode); } - initialized = TRUE; + initialized = 1; return(0); }