summaryrefslogtreecommitdiff
path: root/src/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/logging.h')
-rw-r--r--src/logging.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/logging.h b/src/logging.h
index 75782d5640..d0d35ea453 100644
--- a/src/logging.h
+++ b/src/logging.h
@@ -318,6 +318,11 @@ struct LogVerbosity {
};
extern LogVerbosity gLogVerbosity;
+
+// Used on fatal exit. Prevents recursive aborts. Allows us to disable
+// some error checking to ensure fatal shutdown makes forward progress.
+extern bool gAborting;
+
extern void InitLogging(char* argv[]);
extern const char* GetCmdLine();