summaryrefslogtreecommitdiffstats
path: root/test/tmisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tmisc.c')
-rw-r--r--test/tmisc.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/test/tmisc.c b/test/tmisc.c
index 6926e21..12a76c1 100644
--- a/test/tmisc.c
+++ b/test/tmisc.c
@@ -429,8 +429,8 @@ test_misc2_write_attribute(void)
hid_t type;
herr_t ret;
misc2_struct data, data_check;
- char * string_att1 = HDstrdup("string attribute in file one");
- char * string_att2 = HDstrdup("string attribute in file two");
+ char *string_att1 = HDstrdup("string attribute in file one");
+ char *string_att2 = HDstrdup("string attribute in file two");
type = misc2_create_type();
@@ -1237,8 +1237,8 @@ test_misc8(void)
hsize_t dims[MISC8_RANK] = {MISC8_DIM0, MISC8_DIM1};
hsize_t chunk_dims[MISC8_RANK] = {MISC8_CHUNK_DIM0, MISC8_CHUNK_DIM1};
hsize_t storage_size; /* Number of bytes of raw data storage used */
- int * wdata; /* Data to write */
- int * tdata; /* Temporary pointer to data write */
+ int *wdata; /* Data to write */
+ int *tdata; /* Temporary pointer to data write */
#ifdef VERIFY_DATA
int *rdata; /* Data to read */
int *tdata2; /* Temporary pointer to data to read */
@@ -2015,7 +2015,7 @@ test_misc12(void)
"bien germina ya! Ceso la horrible noche, La libertad sublime",
"derrama las auroras de su invencible luz.", "La humanidad entera, que entre cadenas gime, comprende",
"las palabras del que murio en la cruz."};
- char * rdata[MISC12_SPACE1_DIM1 + MISC12_APPEND_SIZE]; /* Information read in */
+ char *rdata[MISC12_SPACE1_DIM1 + MISC12_APPEND_SIZE]; /* Information read in */
hid_t fid1;
hid_t dataset;
hid_t sid1, space, memspace;
@@ -2298,10 +2298,10 @@ misc13_create_hdf_file(const char *name, const unsigned *data)
static void
misc13_insert_user_block(const char *old_name, const char *new_name, const char *str, size_t size)
{
- FILE * new_fp = NULL; /* Pointers to new & old files */
- FILE * old_fp = NULL;
- void * user_block = NULL; /* Pointer to user block to write to file */
- void * copy_buf = NULL; /* Pointer to buffer for copying data */
+ FILE *new_fp = NULL; /* Pointers to new & old files */
+ FILE *old_fp = NULL;
+ void *user_block = NULL; /* Pointer to user block to write to file */
+ void *copy_buf = NULL; /* Pointer to buffer for copying data */
size_t written; /* Amount of data written to new file */
size_t read_in; /* Amount of data read in from old file */
int ret; /* Generic status value */
@@ -3740,7 +3740,7 @@ static void
test_misc21(void)
{
hid_t fid, sid, dcpl, dsid;
- char * buf;
+ char *buf;
hsize_t dims[2] = {MISC21_SPACE_DIM0, MISC21_SPACE_DIM1},
chunk_size[2] = {MISC21_CHUNK_DIM0, MISC21_CHUNK_DIM1};
herr_t ret; /* Generic return value */
@@ -3806,7 +3806,7 @@ static void
test_misc22(void)
{
hid_t fid, sid, dcpl, dsid, dcpl2;
- char * buf;
+ char *buf;
hsize_t dims[2] = {MISC22_SPACE_DIM0, MISC22_SPACE_DIM1},
chunk_size[2] = {MISC22_CHUNK_DIM0, MISC22_CHUNK_DIM1};
herr_t ret; /* Generic return value */
@@ -5515,8 +5515,8 @@ test_misc31(void)
static void
test_misc32(void)
{
- void * buffer;
- void * resized;
+ void *buffer;
+ void *resized;
size_t size;
/* Output message about test being performed */