summaryrefslogtreecommitdiffstats
path: root/src/H5FDdirect.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5FDdirect.c')
-rw-r--r--src/H5FDdirect.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/H5FDdirect.c b/src/H5FDdirect.c
index 9ecae5e..096a637 100644
--- a/src/H5FDdirect.c
+++ b/src/H5FDdirect.c
@@ -120,8 +120,8 @@ typedef struct H5FD_direct_t {
/* Prototypes */
static herr_t H5FD__direct_term(void);
-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);
@@ -191,7 +191,7 @@ DESCRIPTION
static herr_t
H5FD__init_package(void)
{
- char * lock_env_var = NULL; /* Environment variable pointer */
+ char *lock_env_var = NULL; /* Environment variable pointer */
herr_t ret_value = SUCCEED;
FUNC_ENTER_STATIC
@@ -286,7 +286,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;
@@ -342,7 +342,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 */
@@ -387,7 +387,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_STATIC_NOERR
@@ -415,7 +415,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_STATIC_NOERR
@@ -448,7 +448,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;
#ifdef H5_HAVE_WIN32_API
HFILE filehandle;
@@ -456,8 +456,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_STATIC
@@ -855,7 +855,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;
@@ -1035,8 +1035,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;