Skip to content
Snippets Groups Projects
Commit d0290cdf authored by Thomas Jahns's avatar Thomas Jahns :cartwheel: Committed by Sergey Kosukhin
Browse files

Remove unused functions.

parent 98c36f54
No related branches found
No related tags found
No related merge requests found
......@@ -14,8 +14,6 @@
#include "cdi.h"
#include "dmemory.h"
static char commands[][13] = { "FINALIZE", "RESOURCES", "WRITETS" };
/*****************************************************************************/
void
cdiAbortC_MPI(const char *caller, const char *filename, const char *functionname, int line, const char *errorString, va_list ap)
......@@ -116,29 +114,6 @@ pcdiXMPIStats(int iret, const char *filename, int line, int n, MPI_Status *restr
/****************************************************/
void
pcdiDebugMsg(const char *cdiPioDebugString, const char *filename, const char *functionname, int line, int tag, int source,
int nfinished)
{
int rank = getMPICommWorldRank();
fprintf(stdout, "%s pe%d in %s, %s, line %d: command %s, source %d, finalized=%d\n", cdiPioDebugString, rank, functionname,
filename, line, &commands[tag][0], source, nfinished);
}
/****************************************************/
void
pcdiDebugMsg2(const char *filename, const char *functionname, int line, int tag, int source, char *text)
{
int rank = getMPICommWorldRank();
fprintf(stdout, "pe%d in %s, %s, line %d: command %s, source %d, %s\n", rank, functionname, filename, line, &commands[tag][0],
source, text);
}
/****************************************************/
void
printArray(const char *cdiPioDebugString, const char *ps, const void *array, int n, int datatype, const char *funname,
const char *filename, int line)
......
......@@ -79,15 +79,6 @@ void pcdiXMPIStats(int, const char *, int, int, MPI_Status *);
} \
while (0)
void pcdiDebugMsg(const char *cdiDebugString, const char *filename, const char *functionname, int line, int tag, int source,
int nfinished);
#define xdebugMsg(tag, source, nfinished) \
if (ddebug) pcdiDebugMsg(debugString, __FILE__, __func__, __LINE__, tag, source, nfinished)
void pcdiDebugMsg2(const char *filename, const char *functionname, int line, int tag, int source, char *text);
#define xdebugMsg2(tag, source, text) \
if (ddebug) pcdiDebugMsg(__FILE__, __func__, __LINE__, tag, source, text)
static inline int
sum_int(size_t n, int *a)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment