diff options
author | David Young <dyoung@hdfgroup.org> | 2019-09-23 19:36:13 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2019-09-23 19:36:13 (GMT) |
commit | a8ebf7c54135214b0612aa6a731a2c7425506e0d (patch) | |
tree | 0e3685f4436a1f9a1811903f18eb83a60fc1daae /test/h5test.h | |
parent | d4ecff831907084c37490e11d5dcb345e2a9326d (diff) | |
download | hdf5-a8ebf7c54135214b0612aa6a731a2c7425506e0d.zip hdf5-a8ebf7c54135214b0612aa6a731a2c7425506e0d.tar.gz hdf5-a8ebf7c54135214b0612aa6a731a2c7425506e0d.tar.bz2 |
Tell the compiler that h5_testing() is a printf-like function.
Diffstat (limited to 'test/h5test.h')
-rw-r--r-- | test/h5test.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/h5test.h b/test/h5test.h index c5254a7..f73df44 100644 --- a/test/h5test.h +++ b/test/h5test.h @@ -126,7 +126,7 @@ extern "C" { #endif /* Generally useful testing routines */ -H5TEST_DLL void h5_testing(const char *, ...); +H5TEST_DLL void h5_testing(const char *, ...) H5_ATTR_FORMAT(printf, 1, 2); H5TEST_DLL void h5_clean_files(const char *base_name[], hid_t fapl); H5TEST_DLL int h5_cleanup(const char *base_name[], hid_t fapl); H5TEST_DLL char *h5_fixname(const char *base_name, hid_t fapl, char *fullname, size_t size); |