summaryrefslogtreecommitdiffstats
path: root/test/error_test.c
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2006-05-12 18:29:49 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2006-05-12 18:29:49 (GMT)
commitcbe0bc01f0b36901ae5b7b0abb5ae1f65a9fef02 (patch)
treec5a846dc79344aca513399c416b137ab8b1370f4 /test/error_test.c
parentdb31594e6824688b03963fa092761b02d9179296 (diff)
downloadhdf5-cbe0bc01f0b36901ae5b7b0abb5ae1f65a9fef02.zip
hdf5-cbe0bc01f0b36901ae5b7b0abb5ae1f65a9fef02.tar.gz
hdf5-cbe0bc01f0b36901ae5b7b0abb5ae1f65a9fef02.tar.bz2
[svn-r12345] Purpose: Codes for backward compatibility.
Description: Function prototype H5E_walk_t and structure H5E_error_t wasn't backward compatible. Solution: Make them compatible with v1.6 and provide new definitions of H5E_walk_stack_t and H5E_error_stack_t. Platforms tested: fuss and h5committest.
Diffstat (limited to 'test/error_test.c')
-rw-r--r--test/error_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/error_test.c b/test/error_test.c
index ad3dd11..d19738e 100644
--- a/test/error_test.c
+++ b/test/error_test.c
@@ -76,7 +76,7 @@ hid_t ERR_MIN_GETNUM;
#define LONG_DESC_SIZE 8192
-herr_t custom_print_cb(unsigned n, const H5E_error_t *err_desc, void* client_data);
+herr_t custom_print_cb(unsigned n, const H5E_error_stack_t *err_desc, void* client_data);
/*-------------------------------------------------------------------------
@@ -304,7 +304,7 @@ error_stack(void)
*-------------------------------------------------------------------------
*/
static herr_t
-long_desc_cb(unsigned UNUSED n, const H5E_error_t *err_desc, void* client_data)
+long_desc_cb(unsigned UNUSED n, const H5E_error_stack_t *err_desc, void* client_data)
{
char *real_desc = (char *)client_data;
@@ -430,7 +430,7 @@ dump_error(hid_t estack)
*-------------------------------------------------------------------------
*/
herr_t
-custom_print_cb(unsigned n, const H5E_error_t *err_desc, void* client_data)
+custom_print_cb(unsigned n, const H5E_error_stack_t *err_desc, void* client_data)
{
FILE *stream = (FILE *)client_data;
char maj[MSG_SIZE];