summaryrefslogtreecommitdiffstats
path: root/src/H5FDdirect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FDdirect.c')
-rw-r--r--src/H5FDdirect.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/H5FDdirect.c b/src/H5FDdirect.c
index a7ffe1b..99bf974 100644
--- a/src/H5FDdirect.c
+++ b/src/H5FDdirect.c
@@ -122,8 +122,8 @@ typedef struct H5FD_direct_t {
static herr_t H5FD__direct_term(void);
static herr_t H5FD__direct_populate_config(size_t boundary, size_t block_size, size_t cbuf_size,
H5FD_direct_fapl_t *fa_out);
-static void * H5FD__direct_fapl_get(H5FD_t *file);
-static void * H5FD__direct_fapl_copy(const void *_old_fa);
+static void *H5FD__direct_fapl_get(H5FD_t *file);
+static void *H5FD__direct_fapl_copy(const void *_old_fa);
static H5FD_t *H5FD__direct_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxaddr);
static herr_t H5FD__direct_close(H5FD_t *_file);
static int H5FD__direct_cmp(const H5FD_t *_f1, const H5FD_t *_f2);
@@ -271,7 +271,7 @@ H5FD__direct_term(void)
herr_t
H5Pset_fapl_direct(hid_t fapl_id, size_t boundary, size_t block_size, size_t cbuf_size)
{
- H5P_genplist_t * plist; /* Property list pointer */
+ H5P_genplist_t *plist; /* Property list pointer */
H5FD_direct_fapl_t fa;
herr_t ret_value;
@@ -309,7 +309,7 @@ herr_t
H5Pget_fapl_direct(hid_t fapl_id, size_t *boundary /*out*/, size_t *block_size /*out*/,
size_t *cbuf_size /*out*/)
{
- H5P_genplist_t * plist; /* Property list pointer */
+ H5P_genplist_t *plist; /* Property list pointer */
const H5FD_direct_fapl_t *fa;
herr_t ret_value = SUCCEED; /* Return value */
@@ -401,7 +401,7 @@ static void *
H5FD__direct_fapl_get(H5FD_t *_file)
{
H5FD_direct_t *file = (H5FD_direct_t *)_file;
- void * ret_value = NULL; /* Return value */
+ void *ret_value = NULL; /* Return value */
FUNC_ENTER_PACKAGE_NOERR
@@ -429,7 +429,7 @@ static void *
H5FD__direct_fapl_copy(const void *_old_fa)
{
const H5FD_direct_fapl_t *old_fa = (const H5FD_direct_fapl_t *)_old_fa;
- H5FD_direct_fapl_t * new_fa = H5MM_calloc(sizeof(H5FD_direct_fapl_t));
+ H5FD_direct_fapl_t *new_fa = H5MM_calloc(sizeof(H5FD_direct_fapl_t));
FUNC_ENTER_PACKAGE_NOERR
@@ -462,7 +462,7 @@ H5FD__direct_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxad
{
int o_flags;
int fd = (-1);
- H5FD_direct_t * file = NULL;
+ H5FD_direct_t *file = NULL;
const H5FD_direct_fapl_t *fa;
H5FD_direct_fapl_t default_fa;
#ifdef H5_HAVE_WIN32_API
@@ -471,8 +471,8 @@ H5FD__direct_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxad
#endif
h5_stat_t sb;
H5P_genplist_t *plist; /* Property list */
- void * buf1, *buf2;
- H5FD_t * ret_value = NULL;
+ void *buf1, *buf2;
+ H5FD_t *ret_value = NULL;
FUNC_ENTER_PACKAGE
@@ -873,7 +873,7 @@ H5FD__direct_read(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t H5_ATTR_U
hbool_t _must_align = TRUE;
herr_t ret_value = SUCCEED; /* Return value */
size_t alloc_size;
- void * copy_buf = NULL, *p2;
+ void *copy_buf = NULL, *p2;
size_t _boundary;
size_t _fbsize;
size_t _cbsize;
@@ -1053,8 +1053,8 @@ H5FD__direct_write(H5FD_t *_file, H5FD_mem_t H5_ATTR_UNUSED type, hid_t H5_ATTR_
hbool_t _must_align = TRUE;
herr_t ret_value = SUCCEED; /* Return value */
size_t alloc_size;
- void * copy_buf = NULL, *p1;
- const void * p3;
+ void *copy_buf = NULL, *p1;
+ const void *p3;
size_t _boundary;
size_t _fbsize;
size_t _cbsize;