Skip to content
Snippets Groups Projects
Commit 6770443d authored by Thomas Jahns's avatar Thomas Jahns :cartwheel:
Browse files

Remove unused functions.

parent 34083d21
No related branches found
No related tags found
No related merge requests found
......@@ -14,12 +14,6 @@
#include "cdi.h"
#include "dmemory.h"
static
char commands[][13] = { "FINALIZE",
"RESOURCES",
"WRITETS"};
/*****************************************************************************/
void
cdiAbortC_MPI(const char *caller, const char *filename,
......@@ -122,33 +116,6 @@ void pcdiXMPIStats(int iret, const char *filename, int line,
/****************************************************/
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 )
{
......
......@@ -80,17 +80,6 @@ void pcdiXMPIStats(int, const char *, int, int, MPI_Status *);
pcdiXMPIStats(ret, __FILE__, __LINE__, n, stats); \
} 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