summaryrefslogtreecommitdiffstats
path: root/src/H5FDstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FDstream.c')
-rw-r--r--src/H5FDstream.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/H5FDstream.c b/src/H5FDstream.c
index e60c7a7..680d969 100644
--- a/src/H5FDstream.c
+++ b/src/H5FDstream.c
@@ -153,7 +153,7 @@ static const H5FD_stream_fapl_t default_fapl =
static void *H5FD_stream_fapl_get (H5FD_t *_stream);
static H5FD_t *H5FD_stream_open (const char *name, unsigned flags,
hid_t fapl_id, haddr_t maxaddr);
-static herr_t H5FD_stream_flush (H5FD_t *_stream, unsigned closing);
+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);
@@ -693,7 +693,7 @@ done:
*-------------------------------------------------------------------------
*/
static herr_t
-H5FD_stream_flush (H5FD_t *_stream, unsigned UNUSED closing)
+H5FD_stream_flush (H5FD_t *_stream, hid_t dxpl_id, unsigned UNUSED closing)
{
H5FD_stream_t *stream = (H5FD_stream_t *) _stream;
size_t size;
@@ -772,10 +772,6 @@ H5FD_stream_close (H5FD_t *_stream)
FUNC_ENTER_NOAPI(H5FD_stream_close, FAIL);
- /* Flush */
- if (H5FD_stream_flush (_stream,TRUE) != SUCCEED)
- HGOTO_ERROR (H5E_FILE, H5E_CANTFLUSH, FAIL, "unable to flush file");
-
/* Release resources */
if (! H5FD_STREAM_ERROR_CHECK (stream->socket) && stream->internal_socket)
H5FD_STREAM_CLOSE_SOCKET (stream->socket);