summaryrefslogtreecommitdiffstats
path: root/test/h5test.h
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-07-11 15:29:46 (GMT)
committerGitHub <noreply@github.com>2022-07-11 15:29:46 (GMT)
commit460ee73a642db71872efa8e5c51dcf5aee554790 (patch)
tree196f786f98c1877e19cbcc6929a56250232f8805 /test/h5test.h
parentbe5de999a92ec1ba7853827ff0b5966f3569e792 (diff)
downloadhdf5-460ee73a642db71872efa8e5c51dcf5aee554790.zip
hdf5-460ee73a642db71872efa8e5c51dcf5aee554790.tar.gz
hdf5-460ee73a642db71872efa8e5c51dcf5aee554790.tar.bz2
Adds format attribute to additional functions (#1868)
* Adds format attribute to (s|p)io_perf code * Added gcc format attribute to additional test code * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'test/h5test.h')
-rw-r--r--test/h5test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/h5test.h b/test/h5test.h
index 9d7d303..052f6b5 100644
--- a/test/h5test.h
+++ b/test/h5test.h
@@ -220,7 +220,7 @@ H5TEST_DLL void h5_reset(void);
H5TEST_DLL void h5_restore_err(void);
H5TEST_DLL void h5_show_hostname(void);
H5TEST_DLL h5_stat_size_t h5_get_file_size(const char *filename, hid_t fapl);
-H5TEST_DLL int print_func(const char *format, ...);
+H5TEST_DLL int print_func(const char *format, ...) H5_ATTR_FORMAT(printf, 1, 2);
H5TEST_DLL int h5_make_local_copy(const char *origfilename, const char *local_copy_name);
H5TEST_DLL herr_t h5_verify_cached_stabs(const char *base_name[], hid_t fapl);
H5TEST_DLL H5FD_class_t *h5_get_dummy_vfd_class(void);