summaryrefslogtreecommitdiffstats
path: root/test/file_image.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-09-30 17:03:12 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-09-30 17:03:12 (GMT)
commit453238e90e1574ef1c15e3c79f7fb3d77920e77c (patch)
tree6aa9407c7a4cb1bd10975205c14ff8b1ce3f0d5e /test/file_image.c
parent636cba89e605644c8f094fcc7f951c70cd895a39 (diff)
parentca0c0c3dc83acb7261e607cfee3b3ef04d167188 (diff)
downloadhdf5-453238e90e1574ef1c15e3c79f7fb3d77920e77c.zip
hdf5-453238e90e1574ef1c15e3c79f7fb3d77920e77c.tar.gz
hdf5-453238e90e1574ef1c15e3c79f7fb3d77920e77c.tar.bz2
Merge pull request #2907 in HDFFV/hdf5 from ~BYRN/hdf5_clang_format:hdf5_1_10 to hdf5_1_10
* commit 'ca0c0c3dc83acb7261e607cfee3b3ef04d167188': Merge of clang-format changes from develop
Diffstat (limited to 'test/file_image.c')
-rw-r--r--test/file_image.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/file_image.c b/test/file_image.c
index 4898b92..824f512 100644
--- a/test/file_image.c
+++ b/test/file_image.c
@@ -677,7 +677,7 @@ error:
* 'member_file_name' in the code below, but early (4.4.7, at least) gcc only
* allows diagnostic pragmas to be toggled outside of functions.
*/
-H5_GCC_DIAG_OFF(format-nonliteral)
+H5_GCC_DIAG_OFF("format-nonliteral")
static int
test_get_file_image(const char * test_banner,
const int file_name_num,
@@ -782,7 +782,7 @@ test_get_file_image(const char * test_banner,
ssize_t member_size;
ssize_t size_remaining;
- /*
+ /*
* Modifications need to be made to accommodate userblock when
* H5Fget_file_image() works for family driver
*/
@@ -944,7 +944,7 @@ test_get_file_image(const char * test_banner,
error:
return 1;
} /* end test_get_file_image() */
-H5_GCC_DIAG_ON(format-nonliteral)
+H5_GCC_DIAG_ON("format-nonliteral")
/******************************************************************************