Commit 54d673f1a8488b5ab91a3f3f74a660bdeb7c9454

nijtmans 2019-03-28T17:00:50

XCALLOC is not used anywhere anymore, so it can be removed

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/tommath_private.h b/tommath_private.h
index 725aa4b..48cf37d 100644
--- a/tommath_private.h
+++ b/tommath_private.h
@@ -41,12 +41,10 @@ extern "C" {
 #   define XMALLOC   malloc
 #   define XFREE     free
 #   define XREALLOC  realloc
-#   define XCALLOC   calloc
 #else
 /* prototypes for our heap functions */
 extern void *XMALLOC(size_t n);
 extern void *XREALLOC(void *p, size_t n);
-extern void *XCALLOC(size_t n, size_t s);
 extern void XFREE(void *p);
 #endif