summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-04-12 21:10:05 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-04-12 21:10:05 (GMT)
commit099f9e72c50c38133a3fb752f3af1d7faf0cf541 (patch)
tree5eb5fd3c530a97f0bee785059040852b6abaf642
parentb53ed77dbdc39ab5ab3daecb21ba78474c664607 (diff)
downloadhdf5-099f9e72c50c38133a3fb752f3af1d7faf0cf541.zip
hdf5-099f9e72c50c38133a3fb752f3af1d7faf0cf541.tar.gz
hdf5-099f9e72c50c38133a3fb752f3af1d7faf0cf541.tar.bz2
[svn-r2125] Changed test slightly to reflect change in return type for H5Aiterate.
-rw-r--r--test/tattr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tattr.c b/test/tattr.c
index 4a72542..4747c74 100644
--- a/test/tattr.c
+++ b/test/tattr.c
@@ -82,7 +82,7 @@ struct attr4_struct {
#define ATTR5_RANK 0
float attr_data5=-5.123; /* Test data for 5th attribute */
-int attr_op1(hid_t loc_id, const char *name, void *op_data);
+herr_t attr_op1(hid_t loc_id, const char *name, void *op_data);
/****************************************************************
**
@@ -1016,10 +1016,10 @@ test_attr_mult_read(void)
** attr_op1(): Attribute operator
**
****************************************************************/
-int attr_op1(hid_t UNUSED loc_id, const char *name, void *op_data)
+herr_t attr_op1(hid_t UNUSED loc_id, const char *name, void *op_data)
{
int *count=(int *)op_data;
- int ret=0;
+ herr_t ret=0;
switch(*count) {
case 0: