summaryrefslogtreecommitdiff
path: root/lib/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/error.h')
-rw-r--r--lib/error.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/error.h b/lib/error.h
index 55d862adb..e288a7921 100644
--- a/lib/error.h
+++ b/lib/error.h
@@ -38,4 +38,7 @@ void error (int, int, const char *, ...) \
void error ();
#endif
+/* This variable is incremented each time `error' is called. */
+extern unsigned int error_message_count;
+
#endif /* _error_h_ */