summaryrefslogtreecommitdiffstats
path: root/mpi/mpi.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-04-22 19:39:47 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-04-22 19:39:47 -0700
commite02452aa0e08cd7075b52eadc25dba5670f731e6 (patch)
tree330d913e7a76070a60b9ed046b6134c952e73e06 /mpi/mpi.c
parentbd59f9a3c30f6853e0f23fefbe0fc80705cc9906 (diff)
downloadtxr-e02452aa0e08cd7075b52eadc25dba5670f731e6.tar.gz
txr-e02452aa0e08cd7075b52eadc25dba5670f731e6.tar.bz2
txr-e02452aa0e08cd7075b52eadc25dba5670f731e6.zip
mpi: remove dubious MP_DEBUG cruft.
The MP_DEBUG macro controls the visibility of definitions that are not used anywhere. * mpi/mpi-config.h (MP_DEBUG): Removed. * mpi/mpi.c (DIAG): Macro and surrounding section controlled by #if MP_DEBUG removed. * mpi/mpi.h (MP_IOFUNC): Definition controlled by MP_DEBUG removed.
Diffstat (limited to 'mpi/mpi.c')
-rw-r--r--mpi/mpi.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/mpi/mpi.c b/mpi/mpi.c
index e5d76f93..355a8d1f 100644
--- a/mpi/mpi.c
+++ b/mpi/mpi.c
@@ -35,14 +35,6 @@
typedef unsigned char mem_t;
extern mem_t *chk_calloc(size_t n, size_t size);
-#if MP_DEBUG
-#include <stdio.h>
-
-#define DIAG(T,V) {fprintf(stderr,T);mp_print(V,stderr);fputc('\n',stderr);}
-#else
-#define DIAG(T,V)
-#endif
-
#include "logtab.h"
/* Default precision for newly created mp_int's */