From 7b540e799902d577209ea26ae8b76fac017b8d1b Mon Sep 17 00:00:00 2001 From: Elena Pourmal Date: Wed, 19 Jun 2002 10:52:03 -0500 Subject: [svn-r5672] Purpose: Code clean up Description: On OSF1 systems compiler complained about NGROUPS variable redefinition. Solution: Rename NGROUPS to H5_NGROUPS Platforms tested: OSF1 V5.1 at PSC --- test/titerate.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/titerate.c b/test/titerate.c index 50b0fe4..3d3f279 100644 --- a/test/titerate.c +++ b/test/titerate.c @@ -35,7 +35,7 @@ #define NATTR 50 /* Number of groups for second group iteration test */ -#define NGROUPS 150 +#define H5_NGROUPS 150 /* General maximum length of names used */ #define NAMELEN 80 @@ -423,7 +423,7 @@ static void test_iter_group_large(void) hsize_t dims[] = {SPACE1_DIM1}; herr_t ret; /* Generic return value */ char gname[20]; /* Temporary group name */ - iter_info names[NGROUPS+2]; /* Names of objects in the root group */ + iter_info names[H5_NGROUPS+2]; /* Names of objects in the root group */ iter_info *curr_name; /* Pointer to the current name in the root group */ int i; @@ -448,7 +448,7 @@ static void test_iter_group_large(void) CHECK(sid, FAIL, "H5Screate_simple"); /* Create a bunch of groups */ - for (i=0; i