diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-09-30 16:20:46 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-09-30 16:20:46 (GMT) |
commit | c58d85f10eb0f7da7ac920b0655937f7521e9d8c (patch) | |
tree | 5920e9682efd3a548fa78ed67735efa153dfcef0 /test/h5test.c | |
parent | c48165cb11b0cb9a06239a0268c1c97336ffe6fd (diff) | |
download | hdf5-c58d85f10eb0f7da7ac920b0655937f7521e9d8c.zip hdf5-c58d85f10eb0f7da7ac920b0655937f7521e9d8c.tar.gz hdf5-c58d85f10eb0f7da7ac920b0655937f7521e9d8c.tar.bz2 |
[svn-r7527] Purpose:
Code cleanup
Description:
Clean up a few loose ends and warnings for the 1.6 compatibility changes
to the error API.
Platforms tested:
FreeBSD 4.9 (sleipnir)
too minor to require h5committest
Diffstat (limited to 'test/h5test.c')
-rw-r--r-- | test/h5test.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/h5test.c b/test/h5test.c index a3d4abf..1da5883 100644 --- a/test/h5test.c +++ b/test/h5test.c @@ -89,7 +89,11 @@ MPI_Info h5_io_info_g=MPI_INFO_NULL;/* MPI INFO object for IO */ */ static const char *multi_letters = "msbrglo"; +#ifdef H5_WANT_H5_V1_6_COMPAT +static herr_t h5_errors(void *client_data); +#else /* H5_WANT_H5_V1_6_COMPAT */ static herr_t h5_errors(hid_t err_stack, void *client_data); +#endif /* H5_WANT_H5_V1_6_COMPAT */ /*------------------------------------------------------------------------- @@ -108,8 +112,13 @@ static herr_t h5_errors(hid_t err_stack, void *client_data); * *------------------------------------------------------------------------- */ +#ifdef H5_WANT_H5_V1_6_COMPAT +static herr_t +h5_errors(void UNUSED *client_data) +#else static herr_t h5_errors(hid_t err_stack, void UNUSED *client_data) +#endif /* H5_WANT_H5_V1_6_COMPAT */ { H5_FAILED(); #ifdef H5_WANT_H5_V1_6_COMPAT |