summaryrefslogtreecommitdiff
path: root/libc/misc/error
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-01 09:22:45 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-01 09:22:45 +0000
commitf45706ca6ade259d2cf9397c35b0135991470197 (patch)
treee21580a7be5c6ab7c2e0ddd7be61b6a2f9c23bf5 /libc/misc/error
parent2fe646ffaa4a775a63d850a3591824e5cb85d13c (diff)
global data uses libc_hidden_data_def, convert all -I hope- and add some new
Diffstat (limited to 'libc/misc/error')
-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;