summaryrefslogtreecommitdiffstats
path: root/src/H5FDstdio.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-27 17:28:11 (GMT)
committerGitHub <noreply@github.com>2022-07-27 17:28:11 (GMT)
commita0a1959c58973095194f2d9ac5f9b13bb7b14fb4 (patch)
tree3f36cbd14d9ede9f00c4c26affb9ecab5d1a860f /src/H5FDstdio.c
parentf0690f13fb914ff39a32d88801eabcef759a0163 (diff)
downloadhdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.zip
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.gz
hdf5-a0a1959c58973095194f2d9ac5f9b13bb7b14fb4.tar.bz2
clang 13 format #1933 (#1939)
Diffstat (limited to 'src/H5FDstdio.c')
-rw-r--r--src/H5FDstdio.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/H5FDstdio.c b/src/H5FDstdio.c
index 3d0332f..46d5451 100644
--- a/src/H5FDstdio.c
+++ b/src/H5FDstdio.c
@@ -79,7 +79,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 */
@@ -332,9 +332,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;
@@ -489,7 +489,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 */
@@ -758,7 +758,7 @@ H5FD_stdio_get_eof(const H5FD_t *_file, H5FD_mem_t /*UNUSED*/ type)
static herr_t
H5FD_stdio_get_handle(H5FD_t *_file, hid_t /*UNUSED*/ 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 */
@@ -796,7 +796,7 @@ static herr_t
H5FD_stdio_read(H5FD_t *_file, H5FD_mem_t /*UNUSED*/ type, hid_t /*UNUSED*/ dxpl_id, haddr_t addr,
size_t size, void /*OUT*/ *buf)
{
- 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 */
@@ -899,7 +899,7 @@ static herr_t
H5FD_stdio_write(H5FD_t *_file, H5FD_mem_t /*UNUSED*/ type, hid_t /*UNUSED*/ 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 */
@@ -986,7 +986,7 @@ H5FD_stdio_write(H5FD_t *_file, H5FD_mem_t /*UNUSED*/ type, hid_t /*UNUSED*/ dxp
static herr_t
H5FD_stdio_flush(H5FD_t *_file, hid_t /*UNUSED*/ 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_flush"; /* Function Name for error reporting */
/* Quiet the compiler */
@@ -1030,7 +1030,7 @@ H5FD_stdio_flush(H5FD_t *_file, hid_t /*UNUSED*/ dxpl_id, hbool_t closing)
static herr_t
H5FD_stdio_truncate(H5FD_t *_file, hid_t /*UNUSED*/ dxpl_id, hbool_t /*UNUSED*/ 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 */
@@ -1121,7 +1121,7 @@ static herr_t
H5FD_stdio_lock(H5FD_t *_file, hbool_t rw)
{
#ifdef H5_HAVE_FLOCK
- H5FD_stdio_t * file = (H5FD_stdio_t *)_file; /* VFD file struct */
+ H5FD_stdio_t *file = (H5FD_stdio_t *)_file; /* VFD file struct */
int lock_flags; /* file locking flags */
static const char *func = "H5FD_stdio_lock"; /* Function Name for error reporting */
@@ -1172,7 +1172,7 @@ static herr_t
H5FD_stdio_unlock(H5FD_t *_file)
{
#ifdef H5_HAVE_FLOCK
- H5FD_stdio_t * file = (H5FD_stdio_t *)_file; /* VFD file struct */
+ H5FD_stdio_t *file = (H5FD_stdio_t *)_file; /* VFD file struct */
static const char *func = "H5FD_stdio_unlock"; /* Function Name for error reporting */
/* Clear the error stack */