diff options
Diffstat (limited to 'src/H5FDmpiposix.c')
-rw-r--r-- | src/H5FDmpiposix.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5FDmpiposix.c b/src/H5FDmpiposix.c index d1b766f..b6bfa80 100644 --- a/src/H5FDmpiposix.c +++ b/src/H5FDmpiposix.c @@ -180,9 +180,9 @@ static H5FD_t *H5FD_mpiposix_open(const char *name, unsigned flags, hid_t fapl_i static herr_t H5FD_mpiposix_close(H5FD_t *_file); static int H5FD_mpiposix_cmp(const H5FD_t *_f1, const H5FD_t *_f2); static herr_t H5FD_mpiposix_query(const H5FD_t *_f1, unsigned long *flags); -static haddr_t H5FD_mpiposix_get_eoa(H5FD_t *_file); +static haddr_t H5FD_mpiposix_get_eoa(const H5FD_t *_file); static herr_t H5FD_mpiposix_set_eoa(H5FD_t *_file, haddr_t addr); -static haddr_t H5FD_mpiposix_get_eof(H5FD_t *_file); +static haddr_t H5FD_mpiposix_get_eof(const H5FD_t *_file); static herr_t H5FD_mpiposix_get_handle(H5FD_t *_file, hid_t fapl, void** file_handle); static herr_t H5FD_mpiposix_read(H5FD_t *_file, H5FD_mem_t type, hid_t fapl_id, haddr_t addr, size_t size, void *buf); @@ -952,9 +952,9 @@ done: *------------------------------------------------------------------------- */ static haddr_t -H5FD_mpiposix_get_eoa(H5FD_t *_file) +H5FD_mpiposix_get_eoa(const H5FD_t *_file) { - H5FD_mpiposix_t *file = (H5FD_mpiposix_t*)_file; + const H5FD_mpiposix_t *file = (const H5FD_mpiposix_t*)_file; haddr_t ret_value; /* Return value */ FUNC_ENTER_NOAPI(H5FD_mpiposix_get_eoa, HADDR_UNDEF) @@ -1028,9 +1028,9 @@ done: *------------------------------------------------------------------------- */ static haddr_t -H5FD_mpiposix_get_eof(H5FD_t *_file) +H5FD_mpiposix_get_eof(const H5FD_t *_file) { - H5FD_mpiposix_t *file = (H5FD_mpiposix_t*)_file; + const H5FD_mpiposix_t *file = (const H5FD_mpiposix_t*)_file; haddr_t ret_value; /* Return value */ FUNC_ENTER_NOAPI(H5FD_mpiposix_get_eof, HADDR_UNDEF) |