diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-04-18 21:21:35 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-04-18 21:21:35 (GMT) |
commit | af6276f6543d06c9f18939cc8b810f57397b7a67 (patch) | |
tree | ef2c50b7bd22d0967fdab6075864577746e4b147 /src/H5FDcore.c | |
parent | d8b08dbc85dfe28d926caf3c03e9d60c63d80794 (diff) | |
download | hdf5-af6276f6543d06c9f18939cc8b810f57397b7a67.zip hdf5-af6276f6543d06c9f18939cc8b810f57397b7a67.tar.gz hdf5-af6276f6543d06c9f18939cc8b810f57397b7a67.tar.bz2 |
[svn-r10628] Purpose:
Code cleanup
Description:
Clean up various warnings reported by the Windows team.
Platforms tested:
FreeBSD 4.11 (sleipnir)
Too minor to require h5committest
Diffstat (limited to 'src/H5FDcore.c')
-rw-r--r-- | src/H5FDcore.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/H5FDcore.c b/src/H5FDcore.c index 11d5cd3..b72887c 100644 --- a/src/H5FDcore.c +++ b/src/H5FDcore.c @@ -89,9 +89,9 @@ static H5FD_t *H5FD_core_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxaddr); static herr_t H5FD_core_close(H5FD_t *_file); static int H5FD_core_cmp(const H5FD_t *_f1, const H5FD_t *_f2); -static haddr_t H5FD_core_get_eoa(H5FD_t *_file); +static haddr_t H5FD_core_get_eoa(const H5FD_t *_file); static herr_t H5FD_core_set_eoa(H5FD_t *_file, haddr_t addr); -static haddr_t H5FD_core_get_eof(H5FD_t *_file); +static haddr_t H5FD_core_get_eof(const H5FD_t *_file); static herr_t H5FD_core_get_handle(H5FD_t *_file, hid_t fapl, void** file_handle); static herr_t H5FD_core_read(H5FD_t *_file, H5FD_mem_t type, hid_t fapl_id, haddr_t addr, size_t size, void *buf); @@ -531,11 +531,11 @@ done: *------------------------------------------------------------------------- */ static haddr_t -H5FD_core_get_eoa(H5FD_t *_file) +H5FD_core_get_eoa(const H5FD_t *_file) { haddr_t ret_value; /* Return value */ - H5FD_core_t *file = (H5FD_core_t*)_file; + const H5FD_core_t *file = (const H5FD_core_t*)_file; FUNC_ENTER_NOAPI(H5FD_core_get_eoa, HADDR_UNDEF) @@ -604,11 +604,11 @@ done: *------------------------------------------------------------------------- */ static haddr_t -H5FD_core_get_eof(H5FD_t *_file) +H5FD_core_get_eof(const H5FD_t *_file) { haddr_t ret_value; /* Return value */ - H5FD_core_t *file = (H5FD_core_t*)_file; + const H5FD_core_t *file = (const H5FD_core_t*)_file; FUNC_ENTER_NOAPI(H5FD_core_get_eof, HADDR_UNDEF) |