d8f6adcd23385fd99907a319f05449efca679c80
galt
  Wed Jul 6 10:17:01 2011 -0700
fix errAbortInProgress
diff --git src/inc/errabort.h src/inc/errabort.h
index aa2ff28..4fd645b 100644
--- src/inc/errabort.h
+++ src/inc/errabort.h
@@ -6,31 +6,32 @@
  * By default the warnings will go to stderr, and
  * aborts will exit the program.  You can push a
  * function on to the appropriate stack to change
  * this behavior.  The top function on the stack
  * gets called.
  *
  * Most functions in this library will call errAbort()
  * if they run out of memory.  
  *
  * This file is copyright 2002 Jim Kent, but license is hereby
  * granted for all use - public, private or commercial. */
 
 #ifndef ERRABORT_H
 #define ERRABORT_H
 
-extern boolean errAbortInProgress;  /* Flag to indicate that an error abort is in progress.
+boolean isErrAbortInProgress();  
+/* Flag to indicate that an error abort is in progress.
                                      * Needed so that a warn handler can tell if it's really
                                      * being called because of a warning or an error. */
 
 void errAbort(char *format, ...)
 /* Abort function, with optional (printf formatted) error message. */
 #if defined(__GNUC__)
 __attribute__((format(printf, 1, 2)))
 #endif
 ;
 
 void vaErrAbort(char *format, va_list args);
 /* Abort function, with optional (vprintf formatted) error message. */
 
 void errnoAbort(char *format, ...)
 /* Prints error message from UNIX errno first, then does errAbort. */