summaryrefslogtreecommitdiffstats
path: root/hl/test
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-07-28 15:05:11 (GMT)
committerGitHub <noreply@github.com>2022-07-28 15:05:11 (GMT)
commit762c111350cc31137a80e24126b00d9aacf3b2a9 (patch)
tree8d21ed8a877bc60b9c517b7505ce80e2cf8031a9 /hl/test
parentc1c4db3c4a0cbef6eceaab2f069e895936fbbe34 (diff)
downloadhdf5-762c111350cc31137a80e24126b00d9aacf3b2a9.zip
hdf5-762c111350cc31137a80e24126b00d9aacf3b2a9.tar.gz
hdf5-762c111350cc31137a80e24126b00d9aacf3b2a9.tar.bz2
clang 13 format #1933 (#1941)
Diffstat (limited to 'hl/test')
-rw-r--r--hl/test/dectris_hl_perf.c2
-rw-r--r--hl/test/gen_test_ds.c2
-rw-r--r--hl/test/test_ds.c28
-rw-r--r--hl/test/test_dset_opt.c20
-rw-r--r--hl/test/test_file_image.c12
-rw-r--r--hl/test/test_image.c14
-rw-r--r--hl/test/test_lite.c92
-rw-r--r--hl/test/test_packet.c2
-rw-r--r--hl/test/test_packet_vlen.c8
-rw-r--r--hl/test/test_table.c2
10 files changed, 91 insertions, 91 deletions
diff --git a/hl/test/dectris_hl_perf.c b/hl/test/dectris_hl_perf.c
index c9e1307..3238027 100644
--- a/hl/test/dectris_hl_perf.c
+++ b/hl/test/dectris_hl_perf.c
@@ -128,7 +128,7 @@ create_file(hid_t fapl_id)
size_t buf_size = CHUNK_NY * CHUNK_NZ * sizeof(unsigned int);
const Bytef *z_src;
- Bytef * z_dst; /*destination buffer */
+ Bytef *z_dst; /*destination buffer */
uLongf z_dst_nbytes = (uLongf)DEFLATE_SIZE_ADJUST(buf_size);
uLong z_src_nbytes = (uLong)buf_size;
diff --git a/hl/test/gen_test_ds.c b/hl/test/gen_test_ds.c
index c3fc7ff..2e7ca8c 100644
--- a/hl/test/gen_test_ds.c
+++ b/hl/test/gen_test_ds.c
@@ -254,7 +254,7 @@ test_cmp_scalename(hid_t fid, hid_t did, const char *name, const char *scalename
herr_t ret_value = FAIL;
hid_t dsid = -1;
ssize_t name_len;
- char * name_out = NULL;
+ char *name_out = NULL;
if ((dsid = H5Dopen2(fid, name, H5P_DEFAULT)) >= 0) {
if (H5DSis_attached(did, dsid, idx) == 1) {
diff --git a/hl/test/test_ds.c b/hl/test/test_ds.c
index 119040c..cc93720 100644
--- a/hl/test/test_ds.c
+++ b/hl/test/test_ds.c
@@ -409,7 +409,7 @@ create_long_dataset(hid_t fid, const char *dsname, const char *dsidx, int fulldi
int rank = 4;
int rankds = 1;
hsize_t dims[4] = {DIM1_SIZE, DIM2_SIZE, DIM3_SIZE, DIM4_SIZE};
- long * buf = NULL;
+ long *buf = NULL;
hsize_t s1_dim[1] = {DIM1_SIZE};
hsize_t s2_dim[1] = {DIM2_SIZE};
hsize_t s3_dim[1] = {DIM3_SIZE};
@@ -1165,7 +1165,7 @@ test_cmp_scalename(hid_t fid, hid_t did, const char *name, const char *scalename
herr_t ret_value = FAIL;
hid_t dsid = -1;
ssize_t name_len;
- char * name_out = NULL;
+ char *name_out = NULL;
if ((dsid = H5Dopen2(fid, name, H5P_DEFAULT)) >= 0) {
if (H5DSis_attached(did, dsid, idx) == 1) {
@@ -1198,7 +1198,7 @@ test_detachscales(void)
int rank1 = 1;
int rank3 = 3;
hsize_t dims[] = {1, 2, 3}; /*some bogus numbers, not important for the test*/
- int * buf = NULL;
+ int *buf = NULL;
char dname[16];
int i;
@@ -2352,8 +2352,8 @@ test_simple(void)
int s22_wbuf[DIM2_SIZE] = {5, 10, 50, 300};
char dim0_label[16];
char dim1_label[16];
- char * dim0_labeld;
- char * dim1_labeld;
+ char *dim0_labeld;
+ char *dim1_labeld;
char dim0_labels[3];
char dim1_labels[3];
ssize_t dim0_label_size;
@@ -2362,7 +2362,7 @@ test_simple(void)
int scale_idx;
int nscales;
ssize_t name_len;
- char * name_out = NULL;
+ char *name_out = NULL;
char snames[3];
int i, j;
@@ -3596,10 +3596,10 @@ read_scale(hid_t dset, unsigned dim, hid_t scale_id, void *visitor_data)
hid_t tid = -1; /* file type ID */
hid_t mtid = -1; /* memory type ID */
hssize_t nelmts; /* number of data elements */
- char * buf = NULL; /* data buffer */
+ char *buf = NULL; /* data buffer */
size_t size;
int i;
- char * data = (char *)visitor_data;
+ char *data = (char *)visitor_data;
/* unused */
(void)dset;
@@ -4602,8 +4602,8 @@ test_types(void)
hsize_t s2_dim[1] = {DIM2_SIZE}; /* size of DS 2 dataset */
float s1_float[DIM1_SIZE] = {10, 20, 30}; /* data of DS 1 dataset */
unsigned short s2_ushort[DIM2_SIZE] = {10, 20, 30, 40}; /* data of DS 2 dataset */
- const char * s1_str = "ABC";
- const char * s2_str = "ABCD";
+ const char *s1_str = "ABC";
+ const char *s2_str = "ABCD";
HDprintf("Testing scales with several datatypes\n");
@@ -4775,9 +4775,9 @@ test_data(void)
hid_t dsid = -1; /* DS dataset ID */
hid_t dcpl; /* dataset creation property list */
hid_t sid; /* dataspace ID */
- float * vals = NULL; /* array to hold data values */
- float * latbuf = NULL; /* array to hold the latitude values */
- float * lonbuf = NULL; /* array to hold the longitude values */
+ float *vals = NULL; /* array to hold data values */
+ float *latbuf = NULL; /* array to hold the latitude values */
+ float *lonbuf = NULL; /* array to hold the longitude values */
hsize_t dims[2]; /* array to hold dimensions */
hsize_t latdims[1]; /* array to hold dimensions */
hsize_t londims[1]; /* array to hold dimensions */
@@ -4947,7 +4947,7 @@ read_data(const char *fname, int ndims, hsize_t *dims, float **buf)
unsigned j;
char str[20];
size_t nelms;
- FILE * f;
+ FILE *f;
float val;
const char *data_file = H5_get_srcdir_filename(fname);
diff --git a/hl/test/test_dset_opt.c b/hl/test/test_dset_opt.c
index 9341d3b..50a4b6d 100644
--- a/hl/test/test_dset_opt.c
+++ b/hl/test/test_dset_opt.c
@@ -142,11 +142,11 @@ test_direct_chunk_write(hid_t file)
size_t buf_size = CHUNK_NX * CHUNK_NY * sizeof(int);
const Bytef *z_src = (const Bytef *)(direct_buf);
- Bytef * z_dst = NULL; /*destination buffer */
+ Bytef *z_dst = NULL; /*destination buffer */
uLongf z_dst_nbytes = (uLongf)DEFLATE_SIZE_ADJUST(buf_size);
uLong z_src_nbytes = (uLong)buf_size;
int aggression = 9; /* Compression aggression setting */
- void * outbuf = NULL; /* Pointer to new buffer */
+ void *outbuf = NULL; /* Pointer to new buffer */
hsize_t start[2]; /* Start of hyperslab */
hsize_t stride[2]; /* Stride of hyperslab */
@@ -682,7 +682,7 @@ static size_t
filter_bogus1(unsigned int flags, size_t H5_ATTR_UNUSED cd_nelmts,
const unsigned int H5_ATTR_UNUSED *cd_values, size_t nbytes, size_t *buf_size, void **buf)
{
- int * int_ptr = (int *)*buf; /* Pointer to the data values */
+ int *int_ptr = (int *)*buf; /* Pointer to the data values */
ssize_t buf_left = (ssize_t)*buf_size; /* Amount of data buffer left to process */
if (flags & H5Z_FLAG_REVERSE) { /* read */
@@ -718,7 +718,7 @@ static size_t
filter_bogus2(unsigned int flags, size_t H5_ATTR_UNUSED cd_nelmts,
const unsigned int H5_ATTR_UNUSED *cd_values, size_t nbytes, size_t *buf_size, void **buf)
{
- int * int_ptr = (int *)*buf; /* Pointer to the data values */
+ int *int_ptr = (int *)*buf; /* Pointer to the data values */
ssize_t buf_left = (ssize_t)*buf_size; /* Amount of data buffer left to process */
if (flags & H5Z_FLAG_REVERSE) { /* read */
@@ -1463,7 +1463,7 @@ test_direct_chunk_read_no_cache(hid_t file)
Bytef *z_dst = (Bytef *)(direct_buf);
uLong z_dst_nbytes = (uLong)buf_size;
int aggression = 9; /* Compression aggression setting */
- void * outbuf = NULL; /* Pointer to new buffer */
+ void *outbuf = NULL; /* Pointer to new buffer */
hsize_t start[2]; /* Start of hyperslab */
hsize_t stride[2]; /* Stride of hyperslab */
@@ -1636,12 +1636,12 @@ test_direct_chunk_read_cache(hid_t file, hbool_t flush)
hsize_t offset[2]; /* chunk offset used for H5DOread_chunk */
size_t buf_size = CHUNK_NX * CHUNK_NY * sizeof(int);
- Bytef * z_src = NULL; /* source buffer */
+ Bytef *z_src = NULL; /* source buffer */
uLongf z_src_nbytes = (uLongf)DEFLATE_SIZE_ADJUST(buf_size);
- Bytef * z_dst = (Bytef *)(direct_buf);
+ Bytef *z_dst = (Bytef *)(direct_buf);
uLong z_dst_nbytes = (uLong)buf_size;
int aggression = 9; /* Compression aggression setting */
- void * outbuf = NULL; /* Pointer to new buffer */
+ void *outbuf = NULL; /* Pointer to new buffer */
hsize_t read_buf_size = 0;
hsize_t start[2]; /* Start of hyperslab */
@@ -2150,7 +2150,7 @@ test_single_chunk(unsigned config)
else
/* Write the data to the dataset */
if (H5Dwrite(did, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, H5P_DEFAULT, (void *)wdata) < 0)
- goto error;
+ goto error;
/*
* Close and release resources.
@@ -2192,7 +2192,7 @@ test_single_chunk(unsigned config)
else
/* Read the data */
if (H5Dread(did, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, H5P_DEFAULT, rdata) < 0)
- goto error;
+ goto error;
/* Verify that the data read was correct. */
for (i = 0; i < DIM0; i++) {
diff --git a/hl/test/test_file_image.c b/hl/test/test_file_image.c
index cc53b07..feefb81 100644
--- a/hl/test/test_file_image.c
+++ b/hl/test/test_file_image.c
@@ -47,7 +47,7 @@
static int
test_file_image(size_t open_images, size_t nflags, unsigned *flags)
{
- hid_t * file_id = NULL, *dset_id = NULL, file_space, plist; /* HDF5 ids */
+ hid_t *file_id = NULL, *dset_id = NULL, file_space, plist; /* HDF5 ids */
hsize_t dims1[RANK] = {2, 3}; /* original dimension of datasets */
hsize_t max_dims[RANK] = {H5S_UNLIMITED, H5S_UNLIMITED};
int data1[6] = {1, 2, 3, 4, 5, 6}; /* original contents of dataset */
@@ -57,13 +57,13 @@ test_file_image(size_t open_images, size_t nflags, unsigned *flags)
hsize_t dims4[RANK] = {3, 5}; /* extended dimensions of datasets */
int data4[15] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15};
/* extended contents of dataset */
- ssize_t * buf_size = NULL; /* pointer to array of buffer sizes */
- void ** buf_ptr = NULL; /* pointer to array of pointers to image buffers */
- char ** filename = NULL; /* pointer to array of pointers to filenames */
- unsigned * input_flags = NULL; /* pointer to array of flag combinations */
+ ssize_t *buf_size = NULL; /* pointer to array of buffer sizes */
+ void **buf_ptr = NULL; /* pointer to array of pointers to image buffers */
+ char **filename = NULL; /* pointer to array of pointers to filenames */
+ unsigned *input_flags = NULL; /* pointer to array of flag combinations */
size_t i, j, k, nrow, n_values;
herr_t status1;
- void * handle_ptr = NULL; /* pointers to driver buffer */
+ void *handle_ptr = NULL; /* pointers to driver buffer */
unsigned char **core_buf_ptr_ptr = NULL;
VERIFY(open_images > 1, "The number of open images must be greater than 1");
diff --git a/hl/test/test_image.c b/hl/test/test_image.c
index dc1be96..bff30c1 100644
--- a/hl/test/test_image.c
+++ b/hl/test/test_image.c
@@ -519,11 +519,11 @@ test_generate(void)
{
hid_t fid;
hsize_t pal_dims[2] = {256, 3};
- float * data = NULL;
+ float *data = NULL;
int imax, jmax, kmax;
int n_elements;
float valex, xmin, xmax, value;
- FILE * f = NULL;
+ FILE *f = NULL;
const char *data_file = H5_get_srcdir_filename(DATA_FILE4);
int i;
int retval = FAIL;
@@ -757,13 +757,13 @@ out:
static int
read_data(const char *fname, /*IN*/
- hsize_t * width, /*OUT*/
- hsize_t * height /*OUT*/)
+ hsize_t *width, /*OUT*/
+ hsize_t *height /*OUT*/)
{
int i, n;
int color_planes;
char str[20];
- FILE * f = NULL;
+ FILE *f = NULL;
int w, h;
int n_elements;
const char *data_file = H5_get_srcdir_filename(fname);
@@ -876,14 +876,14 @@ out:
static int
read_palette(const char *fname, rgb_t *palette, size_t palette_size)
{
- FILE * file;
+ FILE *file;
char buffer[80];
unsigned u;
unsigned int red;
unsigned int green;
unsigned int blue;
unsigned nentries;
- const char * data_file = H5_get_srcdir_filename(fname);
+ const char *data_file = H5_get_srcdir_filename(fname);
/* ensure the given palette is valid */
if (!palette)
diff --git a/hl/test/test_lite.c b/hl/test/test_lite.c
index 655778f..b870fdd 100644
--- a/hl/test/test_lite.c
+++ b/hl/test/test_lite.c
@@ -467,7 +467,7 @@ make_attributes(hid_t loc_id, const char *obj_name)
{
int rank_out;
- hsize_t * dims_out = 0;
+ hsize_t *dims_out = 0;
H5T_class_t type_class;
size_t type_size;
int i;
@@ -1028,7 +1028,7 @@ static int
test_integers(void)
{
hid_t dtype;
- char * dt_str;
+ char *dt_str;
size_t str_len;
HL_TESTING3("\n text for integer types");
@@ -1086,7 +1086,7 @@ static int
test_fps(void)
{
hid_t dtype;
- char * dt_str;
+ char *dt_str;
size_t str_len;
HL_TESTING3(" text for floating-point types");
@@ -1148,7 +1148,7 @@ test_strings(void)
H5T_str_t str_pad;
H5T_cset_t str_cset;
H5T_class_t type_class;
- char * dt_str = NULL;
+ char *dt_str = NULL;
size_t str_len;
HL_TESTING3(" text for string types");
@@ -1293,7 +1293,7 @@ test_opaques(void)
hid_t dtype;
size_t opq_size;
H5T_class_t type_class;
- char * dt_str;
+ char *dt_str;
size_t str_len;
HL_TESTING3(" text for opaque types");
@@ -1355,7 +1355,7 @@ test_enums(void)
const char *name2 = "WHITE";
int value2;
H5T_class_t type_class;
- char * dt_str;
+ char *dt_str;
size_t str_len;
HL_TESTING3(" text for enum types");
@@ -1431,7 +1431,7 @@ test_variables(void)
{
hid_t dtype;
H5T_class_t type_class;
- char * dt_str;
+ char *dt_str;
size_t str_len;
HL_TESTING3(" text for variable types");
@@ -1493,7 +1493,7 @@ test_arrays(void)
int ndims;
hsize_t dims[3];
H5T_class_t type_class;
- char * dt_str;
+ char *dt_str;
size_t str_len;
HL_TESTING3(" text for array types");
@@ -1556,10 +1556,10 @@ test_compounds(void)
{
hid_t dtype;
int nmembs;
- char * memb_name = NULL;
+ char *memb_name = NULL;
H5T_class_t memb_class;
H5T_class_t type_class;
- char * dt_str;
+ char *dt_str;
size_t str_len;
HL_TESTING3(" text for compound types");
@@ -1637,41 +1637,41 @@ test_compound_bug(void)
hid_t dtype;
H5T_class_t type_class;
int nmembs;
- char * memb_name = NULL;
- char * dt_str;
+ char *memb_name = NULL;
+ char *dt_str;
size_t str_len;
- char text[] = "H5T_COMPOUND { H5T_STD_I32LE "
- "\"state_________________________________________________________________________________"
- "\"; H5T_STD_I32LE "
- "\"desc____________________________________________________________________________________"
- "_____\"; H5T_VLEN { H5T_COMPOUND { H5T_ENUM { H5T_STD_I16LE; \"ZERO\" 0; \"ONE\" 1; "
- "\"TWO\" 2; \"THREE\" 3; } \"type____\"; H5T_STD_I32LE "
- "\"sub_____________________________________________________________________________________"
- "__________________________\"; H5T_STRING { STRSIZE H5T_VARIABLE; STRPAD H5T_STR_SPACEPAD; "
- "CSET H5T_CSET_ASCII; CTYPE H5T_C_S1; } \"sub_desc\"; H5T_STD_I32LE "
- "\"final___________________________________________________________________________________"
- "________________\"; } } \"sub\"; }";
- char text2[] = "H5T_COMPOUND {\n"
- " H5T_STD_I16LE \"state___________________________"
- "__________________________________________________"
- "____\" : 0;\n"
- " H5T_STD_I16LE \"desc____________________________"
- "__________________________________________________"
- "___________\" : 2;\n"
- " H5T_VLEN { H5T_COMPOUND {\n"
- " H5T_ENUM { H5T_STD_I16LE; \"ZERO\" 0; \"ONE\" "
- "1; \"TWO\" 2; \"THREE\" 3; } \"type____\" : 0;\n"
- " H5T_STD_I32LE \"sub___________________________"
- "__________________________________________________"
- "__________________________________1\" : 4;\n"
- " H5T_STRING { STRSIZE H5T_VARIABLE; STRPAD H5T_"
- "STR_SPACEPAD; CSET H5T_CSET_ASCII; CTYPE H5T_C_S1;"
- " } \"sub_desc\" : 8;\n"
- " H5T_STD_I32LE \"final_________________________"
- "__________________________________________________"
- "________________________\" : 16;\n"
- " } } \"sub\" : 8;\n"
- "}\n";
+ char text[] = "H5T_COMPOUND { H5T_STD_I32LE "
+ "\"state_________________________________________________________________________________"
+ "\"; H5T_STD_I32LE "
+ "\"desc____________________________________________________________________________________"
+ "_____\"; H5T_VLEN { H5T_COMPOUND { H5T_ENUM { H5T_STD_I16LE; \"ZERO\" 0; \"ONE\" 1; "
+ "\"TWO\" 2; \"THREE\" 3; } \"type____\"; H5T_STD_I32LE "
+ "\"sub_____________________________________________________________________________________"
+ "__________________________\"; H5T_STRING { STRSIZE H5T_VARIABLE; STRPAD H5T_STR_SPACEPAD; "
+ "CSET H5T_CSET_ASCII; CTYPE H5T_C_S1; } \"sub_desc\"; H5T_STD_I32LE "
+ "\"final___________________________________________________________________________________"
+ "________________\"; } } \"sub\"; }";
+ char text2[] = "H5T_COMPOUND {\n"
+ " H5T_STD_I16LE \"state___________________________"
+ "__________________________________________________"
+ "____\" : 0;\n"
+ " H5T_STD_I16LE \"desc____________________________"
+ "__________________________________________________"
+ "___________\" : 2;\n"
+ " H5T_VLEN { H5T_COMPOUND {\n"
+ " H5T_ENUM { H5T_STD_I16LE; \"ZERO\" 0; \"ONE\" "
+ "1; \"TWO\" 2; \"THREE\" 3; } \"type____\" : 0;\n"
+ " H5T_STD_I32LE \"sub___________________________"
+ "__________________________________________________"
+ "__________________________________1\" : 4;\n"
+ " H5T_STRING { STRSIZE H5T_VARIABLE; STRPAD H5T_"
+ "STR_SPACEPAD; CSET H5T_CSET_ASCII; CTYPE H5T_C_S1;"
+ " } \"sub_desc\" : 8;\n"
+ " H5T_STD_I32LE \"final_________________________"
+ "__________________________________________________"
+ "________________________\" : 16;\n"
+ " } } \"sub\" : 8;\n"
+ "}\n";
HL_TESTING3(" text for compound type of bug fix");
@@ -1761,8 +1761,8 @@ test_complicated_compound(void)
hid_t dtype;
int nmembs;
H5T_class_t type_class;
- char * line = NULL;
- FILE * fp = NULL;
+ char *line = NULL;
+ FILE *fp = NULL;
size_t size = 1024;
const char *filename = H5_get_srcdir_filename(INPUT_FILE);
diff --git a/hl/test/test_packet.c b/hl/test/test_packet.c
index e8b90f7..2c003d5 100644
--- a/hl/test/test_packet.c
+++ b/hl/test/test_packet.c
@@ -116,7 +116,7 @@ create_hl_table(hid_t fid)
hid_t field_type[NFIELDS];
hid_t string_type;
hsize_t chunk_size = 10;
- int * fill_data = NULL;
+ int *fill_data = NULL;
int compress = 0;
herr_t status;
diff --git a/hl/test/test_packet_vlen.c b/hl/test/test_packet_vlen.c
index 6d6bf34..d812247 100644
--- a/hl/test/test_packet_vlen.c
+++ b/hl/test/test_packet_vlen.c
@@ -333,7 +333,7 @@ test_compound_VL_VLtype(void)
hsize_t count; /* Number of records in the table */
compVLVL_t writeBuf[NRECORDS]; /* Buffer to hold data to be written */
compVLVL_t readBuf[NRECORDS]; /* Buffer to hold read data */
- hvl_t * t1, *t2;
+ hvl_t *t1, *t2;
unsigned uu, vv, ww; /* Loop variables */
char msg[80]; /* For error message */
herr_t ret; /* Returned status from a callee */
@@ -516,7 +516,7 @@ test_VLof_VLtype(void)
hid_t vlatomic = H5I_INVALID_HID; /* Variable length datatype */
hid_t vlofvl = H5I_INVALID_HID; /* VL datatype of VL datatypes */
hsize_t count; /* Number of records in the table */
- hvl_t * t1; /* pointer to advance */
+ hvl_t *t1; /* pointer to advance */
unsigned uu, vv, ww; /* Loop variables */
hvl_t writeBuf[NRECORDS]; /* Buffer to hold data to be written */
hvl_t readBuf[NRECORDS]; /* Buffer to hold read data */
@@ -1368,7 +1368,7 @@ testfl_compound_VL_VLtype(void)
hsize_t count; /* Number of records in the table */
compVLVL_t writeBuf[NRECORDS]; /* Buffer to hold data to be written */
compVLVL_t readBuf[NRECORDS]; /* Buffer to hold read data */
- hvl_t * t1, *t2;
+ hvl_t *t1, *t2;
unsigned uu, vv, ww; /* Loop variables */
char msg[80]; /* For error message */
herr_t ret; /* Returned status from a callee */
@@ -1551,7 +1551,7 @@ testfl_VLof_VLtype(void)
hid_t vlatomic = H5I_INVALID_HID; /* Variable length datatype */
hid_t vlofvl = H5I_INVALID_HID; /* VL datatype of VL datatypes */
hsize_t count; /* Number of records in the table */
- hvl_t * t1; /* pointer to advance */
+ hvl_t *t1; /* pointer to advance */
unsigned uu, vv, ww; /* Loop variables */
hvl_t writeBuf[NRECORDS]; /* Buffer to hold data to be written */
hvl_t readBuf[NRECORDS]; /* Buffer to hold read data */
diff --git a/hl/test/test_table.c b/hl/test/test_table.c
index 6199e27..9b5d8ac 100644
--- a/hl/test/test_table.c
+++ b/hl/test/test_table.c
@@ -198,7 +198,7 @@ test_table(hid_t fid, int do_write)
hid_t fid2;
hsize_t chunk_size = 10;
int compress = 0;
- int * fill = NULL;
+ int *fill = NULL;
particle_t fill1[1] = {{"no data", -1, -99.0, -99.0, -1}};
int fill1_new[1] = {-100};
hsize_t position;