summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKimmy Mu <kmu@hdfgroup.org>2020-01-23 02:58:42 (GMT)
committerkmu <kmu@hdfgroup.org>2020-01-28 02:42:32 (GMT)
commit2cd1e08d7007b6669418c0c85278876d81946660 (patch)
tree44d3bc9fbf8b3c88d773e3da55212f87d5b7cf80 /src
parenta7d8693216ae11d6976204806c994caeba6fa746 (diff)
downloadhdf5-2cd1e08d7007b6669418c0c85278876d81946660.zip
hdf5-2cd1e08d7007b6669418c0c85278876d81946660.tar.gz
hdf5-2cd1e08d7007b6669418c0c85278876d81946660.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