summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKimmy Mu <kmu@hdfgroup.org>2020-01-23 02:58:42 (GMT)
committerKimmy Mu <kmu@hdfgroup.org>2020-01-23 02:58:42 (GMT)
commit720ba8624aefd5b10783629ab59cb91708c4fcde (patch)
tree85390a6d313e2198899ec0ca362a46f56196d726 /src
parent8ce59829e4064debc973ec750cd700eec288a19f (diff)
parent9f80ffa1f1908975b3100814b2529bf779521e13 (diff)
downloadhdf5-720ba8624aefd5b10783629ab59cb91708c4fcde.zip
hdf5-720ba8624aefd5b10783629ab59cb91708c4fcde.tar.gz
hdf5-720ba8624aefd5b10783629ab59cb91708c4fcde.tar.bz2
Merge pull request #2292 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/prototype to develop
* commit '9f80ffa1f1908975b3100814b2529bf779521e13': fix missing prototype warning
Diffstat (limited to 'src')
-rw-r--r--src/H5Pmapl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5Pmapl.c b/src/H5Pmapl.c
index fe5be0f..3a3f619 100644
--- a/src/H5Pmapl.c
+++ b/src/H5Pmapl.c
@@ -137,6 +137,7 @@ done:
FUNC_LEAVE_NOAPI(ret_value)
} /* end H5P__macc_reg_prop() */
+#ifdef H5_HAVE_MAP_API
/*-------------------------------------------------------------------------
* Function: H5Pset_map_iterate_hints
@@ -214,4 +215,4 @@ H5Pget_map_iterate_hints(hid_t mapl_id, size_t *key_prefetch_size, size_t *key_a
done:
FUNC_LEAVE_API(ret_value)
} /* end H5Pget_map_iterate_hints() */
-
+#endif