summaryrefslogtreecommitdiffstats
path: root/src/H5Pmapl.c
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2020-01-21 18:30:40 (GMT)
committerkmu <kmu@hdfgroup.org>2020-01-21 18:30:40 (GMT)
commit9f80ffa1f1908975b3100814b2529bf779521e13 (patch)
treee3c58b64aa330ee21da6a7d6a5686f2cb38bf365 /src/H5Pmapl.c
parent7366709e4000a96a9942934da0d13474213567f3 (diff)
downloadhdf5-9f80ffa1f1908975b3100814b2529bf779521e13.zip
hdf5-9f80ffa1f1908975b3100814b2529bf779521e13.tar.gz
hdf5-9f80ffa1f1908975b3100814b2529bf779521e13.tar.bz2
fix missing prototype warning
Diffstat (limited to 'src/H5Pmapl.c')
-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