summaryrefslogtreecommitdiffstats
path: root/src/H5MF.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1997-08-01 16:51:29 (GMT)
committerRobb Matzke <matzke@llnl.gov>1997-08-01 16:51:29 (GMT)
commitfc4bcbc21f9a530aa03e1525516507de2c8dadb5 (patch)
tree0d79d7649f3c58b67d8d0a0cfeff64b50bdcb79f /src/H5MF.c
parent3ecc8c71b5f8e546f608f5d15f272c98fd593f61 (diff)
downloadhdf5-fc4bcbc21f9a530aa03e1525516507de2c8dadb5.zip
hdf5-fc4bcbc21f9a530aa03e1525516507de2c8dadb5.tar.gz
hdf5-fc4bcbc21f9a530aa03e1525516507de2c8dadb5.tar.bz2
[svn-r4] Changed SIZEOF_OFFSET and SIZEOF_SIZE to H5F_SIZEOF_OFFSET and
H5F_SIZEOF_SIZE. Modified files to use these instead of accessing the hdf5_file_t struct directly. Changed address return values from H5B to -1 for error. Changed off_t to haddr_t for anything that's a file address.
Diffstat (limited to 'src/H5MF.c')
-rw-r--r--src/H5MF.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5MF.c b/src/H5MF.c
index 0bd1f4f..16c2746 100644
--- a/src/H5MF.c
+++ b/src/H5MF.c
@@ -40,10 +40,10 @@
*
*-------------------------------------------------------------------------
*/
-off_t
+haddr_t
H5MF_alloc (hdf5_file_t *f, size_t size)
{
- off_t addr;
+ haddr_t addr;
assert (f);
assert (f->logical_len>0);
@@ -76,7 +76,7 @@ H5MF_alloc (hdf5_file_t *f, size_t size)
*-------------------------------------------------------------------------
*/
herr_t
-H5MF_free (hdf5_file_t *f, off_t addr, size_t size)
+H5MF_free (hdf5_file_t *f, haddr_t addr, size_t size)
{
if (addr<=0 || 0==size) return 0;