summaryrefslogtreecommitdiffstats
path: root/src/H5FDsrb.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-10-24 18:18:09 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-10-24 18:18:09 (GMT)
commit6aa0dd16204aa1f4f0ea5d15ba8b2d7e6a381278 (patch)
treeb8207a413721b6fee5b2592a7be09091d421dcc7 /src/H5FDsrb.c
parentad0bc2660401e7334e9bb8fe12d6946f655a5135 (diff)
downloadhdf5-6aa0dd16204aa1f4f0ea5d15ba8b2d7e6a381278.zip
hdf5-6aa0dd16204aa1f4f0ea5d15ba8b2d7e6a381278.tar.gz
hdf5-6aa0dd16204aa1f4f0ea5d15ba8b2d7e6a381278.tar.bz2
[svn-r2722] Purpose:
Feature symmetry Description: A while ago I needed to get the 'type' of data being accessed during writes to the VFL driver, so I put in code to get the information down there. Albert asked for the same information during reads, so I've added that in. Tested: FreeBSD 4.1.1 (hawkwind)
Diffstat (limited to 'src/H5FDsrb.c')
-rw-r--r--src/H5FDsrb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5FDsrb.c b/src/H5FDsrb.c
index 4c19372..e3d3e1c 100644
--- a/src/H5FDsrb.c
+++ b/src/H5FDsrb.c
@@ -61,7 +61,7 @@ static herr_t H5FD_srb_query(const H5FD_t *_f1, unsigned long *flags);
static haddr_t H5FD_srb_get_eoa(H5FD_t *_file);
static herr_t H5FD_srb_set_eoa(H5FD_t *_file, haddr_t addr);
static haddr_t H5FD_srb_get_eof(H5FD_t *_file);
-static herr_t H5FD_srb_read(H5FD_t *_file, hid_t fapl_id, haddr_t addr,
+static herr_t H5FD_srb_read(H5FD_t *_file, H5FD_mem_t type, hid_t fapl_id, haddr_t addr,
hsize_t size, void *buf);
static herr_t H5FD_srb_write(H5FD_t *_file, H5FD_mem_t type, hid_t fapl_id, haddr_t addr,
hsize_t size, const void *buf);
@@ -487,7 +487,7 @@ H5FD_srb_get_eof(H5FD_t *_file)
*-------------------------------------------------------------------------
*/
static herr_t
-H5FD_srb_read(H5FD_t *_file, hid_t dxpl_id/*unused*/, haddr_t addr,
+H5FD_srb_read(H5FD_t *_file, H5FD_mem_t UNUSED type, hid_t UNUSED dxpl_id, haddr_t addr,
hsize_t size, void *buf)
{
H5FD_srb_t *file = (H5FD_srb_t*)_file;
@@ -557,7 +557,7 @@ H5FD_srb_read(H5FD_t *_file, hid_t dxpl_id/*unused*/, haddr_t addr,
*-------------------------------------------------------------------------
*/
static herr_t
-H5FD_srb_write(H5FD_t *_file, H5FD_mem_t type, hid_t dxpl_id/*unused*/, haddr_t addr,
+H5FD_srb_write(H5FD_t *_file, H5FD_mem_t UNUSED type, hid_t UNUSED dxpl_id, haddr_t addr,
hsize_t size, const void *buf)
{
H5FD_srb_t *file = (H5FD_srb_t*)_file;