summaryrefslogtreecommitdiffstats
path: root/src/H5PLint.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-05-20 14:04:09 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-05-20 14:04:09 (GMT)
commitff84fb1be3806557e96ef4782bfe784d7fcb408e (patch)
tree5722c26a9581749bd33a68c3e81dbcc91e7e74bb /src/H5PLint.c
parent3c1708531d38568bc993394a82c0e1ff0bce8126 (diff)
downloadhdf5-ff84fb1be3806557e96ef4782bfe784d7fcb408e.zip
hdf5-ff84fb1be3806557e96ef4782bfe784d7fcb408e.tar.gz
hdf5-ff84fb1be3806557e96ef4782bfe784d7fcb408e.tar.bz2
Brought H5I, H5Z, and some of H5PL in line with develop/1.12.
Diffstat (limited to 'src/H5PLint.c')
-rw-r--r--src/H5PLint.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/H5PLint.c b/src/H5PLint.c
index 8b649d2..4aa04e1 100644
--- a/src/H5PLint.c
+++ b/src/H5PLint.c
@@ -300,8 +300,7 @@ done:
* get_plugin_info function pointer, but early (4.4.7, at least) gcc
* only allows diagnostic pragmas to be toggled outside of functions.
*/
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wpedantic"
+H5_GCC_DIAG_OFF(pedantic)
herr_t
H5PL__open(const char *path, H5PL_type_t type, H5PL_key_t key, hbool_t *success, const void **plugin_info)
{
@@ -329,7 +328,7 @@ H5PL__open(const char *path, H5PL_type_t type, H5PL_key_t key, hbool_t *success,
}
/* Return a handle for the function H5PLget_plugin_info in the dynamic library.
- * The plugin library is suppose to define this function.
+ * The plugin library is supposed to define this function.
*/
if (NULL == (get_plugin_info = (H5PL_get_plugin_info_t)H5PL_GET_LIB_FUNC(handle, "H5PLget_plugin_info")))
HGOTO_DONE(SUCCEED)
@@ -370,7 +369,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5PL__open() */
-#pragma GCC diagnostic pop
+H5_GCC_DIAG_ON(pedantic)
/*-------------------------------------------------------------------------