diff options
Diffstat (limited to 'src/H5FDstream.c')
-rw-r--r-- | src/H5FDstream.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5FDstream.c b/src/H5FDstream.c index 455b3ff..d23db5b 100644 --- a/src/H5FDstream.c +++ b/src/H5FDstream.c @@ -157,9 +157,9 @@ static H5FD_t *H5FD_stream_open (const char *name, unsigned flags, static herr_t H5FD_stream_flush (H5FD_t *_stream, hid_t dxpl_id, unsigned closing); static herr_t H5FD_stream_close (H5FD_t *_stream); static herr_t H5FD_stream_query(const H5FD_t *_f1, unsigned long *flags); -static haddr_t H5FD_stream_get_eoa (H5FD_t *_stream); +static haddr_t H5FD_stream_get_eoa (const H5FD_t *_stream); static herr_t H5FD_stream_set_eoa (H5FD_t *_stream, haddr_t addr); -static haddr_t H5FD_stream_get_eof (H5FD_t *_stream); +static haddr_t H5FD_stream_get_eof (const H5FD_t *_stream); static herr_t H5FD_stream_get_handle(H5FD_t *_file, hid_t fapl, void** file_handle); static herr_t H5FD_stream_read (H5FD_t *_stream, H5FD_mem_t type, hid_t fapl_id, haddr_t addr, @@ -887,9 +887,9 @@ done: *------------------------------------------------------------------------- */ static haddr_t -H5FD_stream_get_eoa (H5FD_t *_stream) +H5FD_stream_get_eoa (const H5FD_t *_stream) { - H5FD_stream_t *stream = (H5FD_stream_t *) _stream; + const H5FD_stream_t *stream = (const H5FD_stream_t *) _stream; haddr_t ret_value; /* Return value */ FUNC_ENTER_NOAPI(H5FD_stream_get_eoa, HADDR_UNDEF) @@ -957,9 +957,9 @@ done: *------------------------------------------------------------------------- */ static haddr_t -H5FD_stream_get_eof (H5FD_t *_stream) +H5FD_stream_get_eof (const H5FD_t *_stream) { - H5FD_stream_t *stream = (H5FD_stream_t *) _stream; + const H5FD_stream_t *stream = (const H5FD_stream_t *) _stream; haddr_t ret_value; /* Return value */ FUNC_ENTER_NOAPI(H5FD_stream_get_eof, HADDR_UNDEF) |