diff options
Diffstat (limited to 'test/err_compat.c')
-rw-r--r-- | test/err_compat.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/err_compat.c b/test/err_compat.c index 62a310f..f2bd2ab 100644 --- a/test/err_compat.c +++ b/test/err_compat.c @@ -24,15 +24,15 @@ main(void) } #else /* H5_NO_DEPRECATED_SYMBOLS */ -const char *FILENAME[] = {"errors_compat", NULL}; +static const char *FILENAME[] = {"errors_compat", NULL}; #define DIM0 100 #define DIM1 200 -int **ipoints2 = NULL; -int **icheck2 = NULL; -int *ipoints2_data = NULL; -int *icheck2_data = NULL; +static int **ipoints2 = NULL; +static int **icheck2 = NULL; +static int *ipoints2_data = NULL; +static int *icheck2_data = NULL; #define DSET_NAME "a_dataset" @@ -345,7 +345,7 @@ test_h5epush1(hid_t file) did = H5Dcreate2(H5I_INVALID_HID, DSET_NAME, H5T_STD_I32BE, sid, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT); } - H5E_END_TRY; + H5E_END_TRY /* Create the dataset */ if ((did = H5Dcreate2(file, DSET_NAME, H5T_STD_I32BE, sid, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT)) < 0) |