summaryrefslogtreecommitdiffstats
path: root/src/H5Shyper.c
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1998-07-07 22:12:24 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1998-07-07 22:12:24 (GMT)
commit3748f79ca2f867ecd82dd159822918ad99059320 (patch)
tree8e72a79fa8688f88b6defdcf226de1f8ae80e12f /src/H5Shyper.c
parent5ab92f6c59b909c51225ff886f9b7a24fdd1dcf6 (diff)
downloadhdf5-3748f79ca2f867ecd82dd159822918ad99059320.zip
hdf5-3748f79ca2f867ecd82dd159822918ad99059320.tar.gz
hdf5-3748f79ca2f867ecd82dd159822918ad99059320.tar.bz2
[svn-r463] H5S.c:
Moved the source of H5S_extent_npoints before H5Sextent_npoints to reduce a compiler complaint. H5Shyper.c: H5Sprivate.h: H5Spublic.h: H5Sselect.c: Changed the parameter declarations of H5S_hyper_add and H5Sselect_hyperslab as originally intended as const hsize *.
Diffstat (limited to 'src/H5Shyper.c')
-rw-r--r--src/H5Shyper.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5Shyper.c b/src/H5Shyper.c
index b38c341..2d7a4b4 100644
--- a/src/H5Shyper.c
+++ b/src/H5Shyper.c
@@ -1155,9 +1155,9 @@ static intn H5S_hyper_bsearch(hssize_t size, H5S_hyper_bound_t *barr, size_t cou
Add a block to hyperslab selection
USAGE
herr_t H5S_hyper_add(space, start, size)
- H5S_t *space; IN: Pointer to dataspace
- hssize_t *start; IN: Offset of block
- hssize_t *size; IN: Size of block
+ H5S_t *space; IN: Pointer to dataspace
+ const hssize_t *start; IN: Offset of block
+ const hsize_t *size; IN: Size of block
RETURNS
SUCCEED/FAIL
DESCRIPTION
@@ -1168,7 +1168,7 @@ static intn H5S_hyper_bsearch(hssize_t size, H5S_hyper_bound_t *barr, size_t cou
REVISION LOG
--------------------------------------------------------------------------*/
herr_t
-H5S_hyper_add (H5S_t *space, hssize_t *start, hssize_t *size)
+H5S_hyper_add (H5S_t *space, const hssize_t *start, const hsize_t *size)
{
H5S_hyper_node_t *slab; /* New hyperslab node to insert */
H5S_hyper_bound_t *tmp; /* Temporary pointer to an hyperslab bound array */