summaryrefslogtreecommitdiffstats
path: root/test/vfd.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-09-30 14:28:21 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-09-30 14:28:21 (GMT)
commitca0c0c3dc83acb7261e607cfee3b3ef04d167188 (patch)
tree6aa9407c7a4cb1bd10975205c14ff8b1ce3f0d5e /test/vfd.c
parent636cba89e605644c8f094fcc7f951c70cd895a39 (diff)
downloadhdf5-ca0c0c3dc83acb7261e607cfee3b3ef04d167188.zip
hdf5-ca0c0c3dc83acb7261e607cfee3b3ef04d167188.tar.gz
hdf5-ca0c0c3dc83acb7261e607cfee3b3ef04d167188.tar.bz2
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")
/*-------------------------------------------------------------------------