summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-12-10 03:56:33 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-12-10 03:56:33 (GMT)
commit46aa3ded7ce2b1aa0c8896204ce345cd67bb0b30 (patch)
tree4cf2640ec182c3d3733ea0a4b258700d24b8ba60 /fortran
parent5855f5d431b266ccb3568d2a70ba95725ba1cfc0 (diff)
downloadhdf5-46aa3ded7ce2b1aa0c8896204ce345cd67bb0b30.zip
hdf5-46aa3ded7ce2b1aa0c8896204ce345cd67bb0b30.tar.gz
hdf5-46aa3ded7ce2b1aa0c8896204ce345cd67bb0b30.tar.bz2
[svn-r28555] Normalization of Fortran directory with revise_chunks (minor).
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 serial, with and without the direct VFD enabled
Diffstat (limited to 'fortran')
-rw-r--r--fortran/src/H5Pf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/fortran/src/H5Pf.c b/fortran/src/H5Pf.c
index 9735f48..523ed0b 100644
--- a/fortran/src/H5Pf.c
+++ b/fortran/src/H5Pf.c
@@ -4843,6 +4843,10 @@ h5pset_link_phase_change_c(hid_t_f *gcpl_id, int_f *max_compact, int_f *min_dens
*
* SOURCE
*/
+#ifndef H5_HAVE_DIRECT
+/* Only gets gcc const attribute when the direct VFD is not built. */
+H5_ATTR_CONST
+#endif
int_f
h5pset_fapl_direct_c(hid_t_f H5_ATTR_UNUSED *fapl_id, size_t_f H5_ATTR_UNUSED *alignment, size_t_f H5_ATTR_UNUSED *block_size, size_t_f H5_ATTR_UNUSED *cbuf_size)
/******/
@@ -4886,6 +4890,10 @@ h5pset_fapl_direct_c(hid_t_f H5_ATTR_UNUSED *fapl_id, size_t_f H5_ATTR_UNUSED *a
*
* SOURCE
*/
+#ifndef H5_HAVE_DIRECT
+/* Only gets gcc const attribute when the direct VFD is not built. */
+H5_ATTR_CONST
+#endif
int_f
h5pget_fapl_direct_c(hid_t_f H5_ATTR_UNUSED *fapl_id, size_t_f H5_ATTR_UNUSED *alignment, size_t_f H5_ATTR_UNUSED *block_size, size_t_f H5_ATTR_UNUSED *cbuf_size)
/******/