summaryrefslogtreecommitdiffstats
path: root/src/H5FDros3.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-10-20 20:40:04 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-10-20 20:40:04 (GMT)
commit6c22369f86f02bdabf8d1b5809ff66d6d4ea1d64 (patch)
tree2b18dd8a3a27fccb64b93f07b325c34a93ac87e7 /src/H5FDros3.c
parentb40e1e82162f04c1c00304d0b3690ba11f041c05 (diff)
downloadhdf5-6c22369f86f02bdabf8d1b5809ff66d6d4ea1d64.zip
hdf5-6c22369f86f02bdabf8d1b5809ff66d6d4ea1d64.tar.gz
hdf5-6c22369f86f02bdabf8d1b5809ff66d6d4ea1d64.tar.bz2
Fix compile issues with vfd drivers.
Diffstat (limited to 'src/H5FDros3.c')
-rw-r--r--src/H5FDros3.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5FDros3.c b/src/H5FDros3.c
index 4c6b4d3..183fd58 100644
--- a/src/H5FDros3.c
+++ b/src/H5FDros3.c
@@ -222,7 +222,7 @@ static int H5FD_ros3_cmp(const H5FD_t *_f1, const H5FD_t *_f2);
static herr_t H5FD_ros3_query(const H5FD_t *_f1, unsigned long *flags);
static haddr_t H5FD_ros3_get_eoa(const H5FD_t *_file, H5FD_mem_t type);
static herr_t H5FD_ros3_set_eoa(H5FD_t *_file, H5FD_mem_t type, haddr_t addr);
-static haddr_t H5FD_ros3_get_eof(const H5FD_t *_file, H5FD_mem_t type);
+static haddr_t H5FD_ros3_get_eof(const H5FD_t *_file);
static herr_t H5FD_ros3_get_handle(H5FD_t *_file, hid_t fapl, void **file_handle);
static herr_t H5FD_ros3_read(H5FD_t *_file, H5FD_mem_t type, hid_t fapl_id, haddr_t addr, size_t size,
void *buf);
@@ -540,6 +540,7 @@ done:
if (fa != NULL)
H5MM_xfree(fa);
+ FUNC_LEAVE_NOAPI(ret_value)
} /* end H5FD_ros3_fapl_get() */
/*-------------------------------------------------------------------------
@@ -1369,7 +1370,7 @@ H5FD_ros3_set_eoa(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, haddr_t addr)
*-------------------------------------------------------------------------
*/
static haddr_t
-H5FD_ros3_get_eof(const H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type)
+H5FD_ros3_get_eof(const H5FD_t *_file)
{
const H5FD_ros3_t *file = (const H5FD_ros3_t *)_file;