diff options
-rw-r--r-- | tools/lib/h5diff_util.c | 4 | ||||
-rw-r--r-- | tools/lib/ph5diff.h | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/tools/lib/h5diff_util.c b/tools/lib/h5diff_util.c index fe2e73c..d4b6437 100644 --- a/tools/lib/h5diff_util.c +++ b/tools/lib/h5diff_util.c @@ -16,6 +16,10 @@ #include "ph5diff.h" #include "H5private.h" +/* global variables */ +int g_nTasks; +char outBuff[OUTBUFF_SIZE]; +unsigned int outBuffOffset; /*------------------------------------------------------------------------- * Function: parallel_print diff --git a/tools/lib/ph5diff.h b/tools/lib/ph5diff.h index 636e4c0..320b39a 100644 --- a/tools/lib/ph5diff.h +++ b/tools/lib/ph5diff.h @@ -30,9 +30,9 @@ #define MPI_TAG_END 6 #define MPI_TAG_PARALLEL 7 -int g_nTasks; -char outBuff[OUTBUFF_SIZE]; -unsigned int outBuffOffset; +extern int g_nTasks; +extern char outBuff[OUTBUFF_SIZE]; +extern unsigned int outBuffOffset; struct diff_args { |