143
143
/* utility functions */
144
144
static int make_dset (hid_t loc_id , const char * name , hid_t sid , hid_t tid , hid_t dcpl , void * buf );
145
145
static int write_attr (hid_t loc_id , int rank , hsize_t * dims , const char * attr_name , hid_t tid , void * buf );
146
- static int write_dset (hid_t loc_id , int rank , hsize_t * dims , const char * dset_name , hid_t tid_dset , hid_t tid_memory , void * buf );
146
+ static int write_dset (hid_t loc_id , int rank , hsize_t * dims , const char * dset_name , hid_t tid_dset ,
147
+ hid_t tid_memory , void * buf );
147
148
148
149
/* a filter operation callback function */
149
150
static size_t myfilter (unsigned int H5_ATTR_UNUSED flags , size_t H5_ATTR_UNUSED cd_nelmts ,
@@ -5072,7 +5073,8 @@ write_attr(hid_t loc_id, int rank, hsize_t *dims, const char *attr_name, hid_t t
5072
5073
*/
5073
5074
5074
5075
static int
5075
- write_dset (hid_t loc_id , int rank , hsize_t * dims , const char * dset_name , hid_t tid_dset , hid_t tid_memory , void * buf )
5076
+ write_dset (hid_t loc_id , int rank , hsize_t * dims , const char * dset_name , hid_t tid_dset , hid_t tid_memory ,
5077
+ void * buf )
5076
5078
{
5077
5079
hid_t did ;
5078
5080
hid_t sid ;
@@ -13386,14 +13388,15 @@ gent_trefer_reg_1d(void)
13386
13388
return ;
13387
13389
}
13388
13390
13389
- int gent_tvms (void )
13391
+ int
13392
+ gent_tvms (void )
13390
13393
{
13391
- hid_t file_id = H5I_INVALID_HID ;
13392
- hid_t dataset_id = H5I_INVALID_HID ;
13394
+ hid_t file_id = H5I_INVALID_HID ;
13395
+ hid_t dataset_id = H5I_INVALID_HID ;
13393
13396
hid_t dataspace_id = H5I_INVALID_HID ;
13394
- hsize_t dims [2 ] = {5 , 6 };
13395
- int data [5 ][6 ];
13396
- int i , j ;
13397
+ hsize_t dims [2 ] = {5 , 6 };
13398
+ int data [5 ][6 ];
13399
+ int i , j ;
13397
13400
13398
13401
/* Initialize the data array */
13399
13402
for (i = 0 ; i < 5 ; i ++ ) {
@@ -13409,8 +13412,8 @@ int gent_tvms(void)
13409
13412
return -1 ;
13410
13413
13411
13414
/* Create the dataset with VAX F64 datatype */
13412
- if ((dataset_id = H5Dcreate2 (file_id , "/Array" , H5T_VAX_F64 , dataspace_id ,
13413
- H5P_DEFAULT , H5P_DEFAULT , H5P_DEFAULT )) < 0 )
13415
+ if ((dataset_id = H5Dcreate2 (file_id , "/Array" , H5T_VAX_F64 , dataspace_id , H5P_DEFAULT , H5P_DEFAULT ,
13416
+ H5P_DEFAULT )) < 0 )
13414
13417
return -1 ;
13415
13418
13416
13419
/* Write the data to the dataset */
0 commit comments