summaryrefslogtreecommitdiffstats
path: root/core/errorhelper.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/errorhelper.c')
-rw-r--r--core/errorhelper.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/errorhelper.c b/core/errorhelper.c
index b77f70186..7c30867a7 100644
--- a/core/errorhelper.c
+++ b/core/errorhelper.c
@@ -4,11 +4,13 @@
#pragma clang diagnostic ignored "-Wmissing-field-initializers"
#endif
#include <stdarg.h>
-#include "dive.h"
+#include "errorhelper.h"
#include "membuffer.h"
#define VA_BUF(b, fmt) do { va_list args; va_start(args, fmt); put_vformat(b, fmt, args); va_end(args); } while (0)
+int verbose;
+
static void (*error_cb)(char *) = NULL;
int report_error(const char *fmt, ...)