aboutsummaryrefslogtreecommitdiffstats
path: root/common/t-mbox-util.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--common/t-mbox-util.c (renamed from g10/t-mailbox.c)28
1 files changed, 2 insertions, 26 deletions
diff --git a/g10/t-mailbox.c b/common/t-mbox-util.c
index aa7cf3399..dfa4ada2a 100644
--- a/g10/t-mailbox.c
+++ b/common/t-mbox-util.c
@@ -1,4 +1,4 @@
-/* t-mailbox.c - Module test for mailbox.c
+/* t-mbox-util.c - Module test for mbox-util.c
* Copyright (C) 2015 Werner Koch
*
* This file is part of GnuPG.
@@ -22,9 +22,8 @@
#include <stdlib.h>
#include <string.h>
-#include "gpg.h"
#include "util.h"
-#include "main.h"
+#include "mbox-util.h"
#define pass() do { ; } while(0)
#define fail(a) do { fprintf (stderr, "%s:%d: test %d failed\n",\
@@ -33,29 +32,6 @@
} while(0)
-void *
-gcry_malloc (size_t n)
-{
- return malloc (n);
-}
-
-
-char *
-gcry_strdup (const char *string)
-{
- return strdup (string);
-}
-
-
-void
-gcry_free (void *a)
-{
- if (a)
- free (a);
-}
-
-
-
static void
run_test (void)
{