aboutsummaryrefslogtreecommitdiffstats
path: root/util/logger.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--util/logger.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/util/logger.c b/util/logger.c
index 83cba8c22..bb0b89e8b 100644
--- a/util/logger.c
+++ b/util/logger.c
@@ -1,5 +1,5 @@
/* logger.c - log functions
- * Copyright (C) 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 2000 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
@@ -102,6 +102,12 @@ log_get_errorcount( int clear)
return n;
}
+void
+log_inc_errorcount()
+{
+ errorcount++;
+}
+
void
gpg_log_print_prefix(const char *text)