summaryrefslogtreecommitdiffstats
path: root/test/vfd.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/vfd.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/vfd.c')
-rw-r--r--test/vfd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/vfd.c b/test/vfd.c
index d849d96..5078996 100644
--- a/test/vfd.c
+++ b/test/vfd.c
@@ -822,7 +822,7 @@ error:
* 'first_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 herr_t
test_family_opens(char *fname, hid_t fa_pl)
{
@@ -879,7 +879,7 @@ test_family_opens(char *fname, hid_t fa_pl)
error:
return -1;
} /* end test_family_opens() */
-H5_GCC_DIAG_ON(format-nonliteral)
+H5_GCC_DIAG_ON("format-nonliteral")
/*-------------------------------------------------------------------------
@@ -1103,7 +1103,7 @@ error:
* 'newname_individual', etc. 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 herr_t
test_family_compat(void)
{
@@ -1187,7 +1187,7 @@ error:
return -1;
} /* end test_family_compat() */
-H5_GCC_DIAG_ON(format-nonliteral)
+H5_GCC_DIAG_ON("format-nonliteral")
/*-------------------------------------------------------------------------
@@ -1326,7 +1326,7 @@ error:
* 'sf_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 herr_t
test_multi_opens(char *fname)
{
@@ -1344,7 +1344,7 @@ test_multi_opens(char *fname)
return(fid >= 0 ? FAIL : SUCCEED);
} /* end test_multi_opens() */
-H5_GCC_DIAG_ON(format-nonliteral)
+H5_GCC_DIAG_ON("format-nonliteral")
/*-------------------------------------------------------------------------