summaryrefslogtreecommitdiff
path: root/libc/misc/error/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/error/error.c')
-rw-r--r--libc/misc/error/error.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/misc/error/error.c b/libc/misc/error/error.c
index 3e44a01ee..bc6117d8f 100644
--- a/libc/misc/error/error.c
+++ b/libc/misc/error/error.c
@@ -39,7 +39,9 @@ libc_hidden_proto(stdout)
libc_hidden_proto(stderr)
/* This variable is incremented each time `error' is called. */
+libc_hidden_proto(error_message_count)
unsigned int error_message_count = 0;
+libc_hidden_data_def(error_message_count)
/* Sometimes we want to have at most one error per line. This
variable controls whether this mode is selected or not. */
int error_one_per_line;