summaryrefslogtreecommitdiffstats
path: root/src/H5FDstdio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FDstdio.c')
-rw-r--r--src/H5FDstdio.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/H5FDstdio.c b/src/H5FDstdio.c
index 67b7c5a..0f8566a 100644
--- a/src/H5FDstdio.c
+++ b/src/H5FDstdio.c
@@ -80,7 +80,7 @@ typedef enum {
*/
typedef struct H5FD_stdio_t {
H5FD_t pub; /* public stuff, must be first */
- FILE * fp; /* the file handle */
+ FILE *fp; /* the file handle */
int fd; /* file descriptor (for truncate) */
haddr_t eoa; /* end of allocated region */
haddr_t eof; /* end of file; current file size */
@@ -317,9 +317,9 @@ H5Pset_fapl_stdio(hid_t fapl_id)
static H5FD_t *
H5FD_stdio_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxaddr)
{
- FILE * f = NULL;
+ FILE *f = NULL;
unsigned write_access = 0; /* File opened with write access? */
- H5FD_stdio_t * file = NULL;
+ H5FD_stdio_t *file = NULL;
static const char *func = "H5FD_stdio_open"; /* Function Name for error reporting */
#ifdef H5_HAVE_WIN32_API
struct _BY_HANDLE_FILE_INFORMATION fileinfo;
@@ -458,7 +458,7 @@ H5FD_stdio_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxaddr
static herr_t
H5FD_stdio_close(H5FD_t *_file)
{
- H5FD_stdio_t * file = (H5FD_stdio_t *)_file;
+ H5FD_stdio_t *file = (H5FD_stdio_t *)_file;
static const char *func = "H5FD_stdio_close"; /* Function Name for error reporting */
/* Clear the error stack */
@@ -723,7 +723,7 @@ H5FD_stdio_get_eof(const H5FD_t *_file)
static herr_t
H5FD_stdio_get_handle(H5FD_t *_file, hid_t fapl, void **file_handle)
{
- H5FD_stdio_t * file = (H5FD_stdio_t *)_file;
+ H5FD_stdio_t *file = (H5FD_stdio_t *)_file;
static const char *func = "H5FD_stdio_get_handle"; /* Function Name for error reporting */
/* Quiet the compiler */
@@ -760,7 +760,7 @@ H5FD_stdio_get_handle(H5FD_t *_file, hid_t fapl, void **file_handle)
static herr_t
H5FD_stdio_read(H5FD_t *_file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, void *buf /*out*/)
{
- H5FD_stdio_t * file = (H5FD_stdio_t *)_file;
+ H5FD_stdio_t *file = (H5FD_stdio_t *)_file;
static const char *func = "H5FD_stdio_read"; /* Function Name for error reporting */
/* Quiet the compiler */
@@ -862,7 +862,7 @@ H5FD_stdio_read(H5FD_t *_file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, siz
static herr_t
H5FD_stdio_write(H5FD_t *_file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, size_t size, const void *buf)
{
- H5FD_stdio_t * file = (H5FD_stdio_t *)_file;
+ H5FD_stdio_t *file = (H5FD_stdio_t *)_file;
static const char *func = "H5FD_stdio_write"; /* Function Name for error reporting */
/* Quiet the compiler */
@@ -949,7 +949,7 @@ H5FD_stdio_write(H5FD_t *_file, H5FD_mem_t type, hid_t dxpl_id, haddr_t addr, si
static herr_t
H5FD_stdio_flush(H5FD_t *_file, hid_t dxpl_id, unsigned closing)
{
- H5FD_stdio_t * file = (H5FD_stdio_t *)_file;
+ H5FD_stdio_t *file = (H5FD_stdio_t *)_file;
static const char *func = "H5FD_stdio_flush"; /* Function Name for error reporting */
/* Quiet the compiler */
@@ -993,7 +993,7 @@ H5FD_stdio_flush(H5FD_t *_file, hid_t dxpl_id, unsigned closing)
static herr_t
H5FD_stdio_truncate(H5FD_t *_file, hid_t dxpl_id, hbool_t closing)
{
- H5FD_stdio_t * file = (H5FD_stdio_t *)_file;
+ H5FD_stdio_t *file = (H5FD_stdio_t *)_file;
static const char *func = "H5FD_stdio_truncate"; /* Function Name for error reporting */
/* Quiet the compiler */