summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/t-common.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/t-common.h b/tests/t-common.h
index e11bca9..e70e04d 100644
--- a/tests/t-common.h
+++ b/tests/t-common.h
@@ -19,7 +19,7 @@
#include <stdarg.h>
-#include "../src/gpg-error.h"
+#include "../src/gpgrt.h"
#ifndef PGM
# error Macro PGM not defined.
@@ -34,6 +34,11 @@ static int debug;
static int errorcount;
+static void die (const char *format, ...) GPGRT_ATTR_NR_PRINTF(1,2);
+static void fail (const char *format, ...) GPGRT_ATTR_PRINTF(1,2);
+static void show (const char *format, ...) GPGRT_ATTR_PRINTF(1,2);
+
+
static void
die (const char *format, ...)
{