diff options
Diffstat (limited to 'src/H5Doh.c')
-rw-r--r-- | src/H5Doh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Doh.c b/src/H5Doh.c index 93a49c5..56cb565 100644 --- a/src/H5Doh.c +++ b/src/H5Doh.c @@ -43,7 +43,7 @@ static void *H5O_dset_get_copy_file_udata(void); static void H5O_dset_free_copy_file_udata(void *); static htri_t H5O_dset_isa(H5O_t *loc); -static hid_t H5O_dset_open(H5G_loc_t *obj_loc, hid_t dxpl_id); +static hid_t H5O_dset_open(const H5G_loc_t *obj_loc, hid_t dxpl_id); static H5O_loc_t *H5O_dset_get_oloc(hid_t obj_id); /*********************/ @@ -208,7 +208,7 @@ done: *------------------------------------------------------------------------- */ static hid_t -H5O_dset_open(H5G_loc_t *obj_loc, hid_t dxpl_id) +H5O_dset_open(const H5G_loc_t *obj_loc, hid_t dxpl_id) { H5D_t *dset = NULL; /* Dataset opened */ hid_t ret_value; /* Return value */ |