diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-09-29 15:24:49 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-09-29 15:24:49 (GMT) |
commit | 274cd0ba1d83fa515df43bbd50284bc6c36e4061 (patch) | |
tree | d596172c2426b5451a0cb7aec3f41bc94e04d1da /tools | |
parent | 14851e3b82a9b116153f9505654faf2f60e1abe2 (diff) | |
download | hdf5-274cd0ba1d83fa515df43bbd50284bc6c36e4061.zip hdf5-274cd0ba1d83fa515df43bbd50284bc6c36e4061.tar.gz hdf5-274cd0ba1d83fa515df43bbd50284bc6c36e4061.tar.bz2 |
Pre-format fixes for warnings as errors
Diffstat (limited to 'tools')
-rw-r--r-- | tools/libtest/h5tools_test_utils.c | 2 | ||||
-rw-r--r-- | tools/test/perform/pio_standalone.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tools/libtest/h5tools_test_utils.c b/tools/libtest/h5tools_test_utils.c index 244fd43..95eaf9c 100644 --- a/tools/libtest/h5tools_test_utils.c +++ b/tools/libtest/h5tools_test_utils.c @@ -69,6 +69,7 @@ * *****************************************************************************/ +H5_GCC_DIAG_OFF("format") /*---------------------------------------------------------------------------- * @@ -1225,6 +1226,7 @@ error : #undef UTIL_TEST_DEFAULT #undef UTIL_TEST_CREATE } /* test_set_configured_fapl */ +H5_GCC_DIAG_ON("format") /*---------------------------------------------------------------------------- diff --git a/tools/test/perform/pio_standalone.h b/tools/test/perform/pio_standalone.h index f2cda4f..55880e3 100644 --- a/tools/test/perform/pio_standalone.h +++ b/tools/test/perform/pio_standalone.h @@ -136,7 +136,7 @@ #define HDfopen(S,M) fopen(S,M) #define HDfork() fork() #define HDfpathconf(F,N) fpathconf(F,N) -H5_DLL int HDfprintf (FILE *stream, const char *fmt, ...); +#define HDfprintf fprintf #define HDfputc(C,F) fputc(C,F) #define HDfputs(S,F) fputs(S,F) #define HDfread(M,Z,N,F) fread(M,Z,N,F) |