summaryrefslogtreecommitdiffstats
path: root/test/app_ref.c
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2008-08-21 16:49:29 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2008-08-21 16:49:29 (GMT)
commit9dbe3467d7dfab449813c3f3245bd50f47b56611 (patch)
tree4d29004cde03aeb69908971ed22e35333c3b8bbe /test/app_ref.c
parente37c76af2b73670b213be98f722a0d2359f892b9 (diff)
downloadhdf5-9dbe3467d7dfab449813c3f3245bd50f47b56611.zip
hdf5-9dbe3467d7dfab449813c3f3245bd50f47b56611.tar.gz
hdf5-9dbe3467d7dfab449813c3f3245bd50f47b56611.tar.bz2
[svn-r15505] Change the names of some macros in app_ref.c to prevent warnings on Windows.
Tested: kagiso
Diffstat (limited to 'test/app_ref.c')
-rw-r--r--test/app_ref.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/app_ref.c b/test/app_ref.c
index 0cacad8..209a909 100644
--- a/test/app_ref.c
+++ b/test/app_ref.c
@@ -22,9 +22,9 @@
*/
#include "h5test.h"
-#define DSET_NAME "test_dset"
-#define ATTR_NAME "test_attr"
-#define GROUP_NAME "test_grp"
+#define APPREF_DSET "test_dset"
+#define APPREF_ATTR "test_attr"
+#define APPREF_GROUP "test_grp"
#define ERR_WIDTH 40 /* Width of output for the SIGABRT handler */
#define MAX_NINC 16 /* Maximum increments of a reference count */
@@ -138,21 +138,21 @@ main (void)
RAND_INC (T_SPACE)
/* Create a dataset */
- if ((ids[T_DSET] = H5Dcreate2 (ids[T_FILE], DSET_NAME, H5T_NATIVE_INT,
+ if ((ids[T_DSET] = H5Dcreate2 (ids[T_FILE], APPREF_DSET, H5T_NATIVE_INT,
ids[T_SPACE], H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT)) < 0)
TEST_ERROR
RAND_INC (T_DSET)
/* Create an attribute */
- if ((ids[T_ATTR] = H5Acreate2 (ids[T_DSET], ATTR_NAME, H5T_NATIVE_INT,
+ if ((ids[T_ATTR] = H5Acreate2 (ids[T_DSET], APPREF_ATTR, H5T_NATIVE_INT,
ids[T_SPACE], H5P_DEFAULT, H5P_DEFAULT)) < 0)
TEST_ERROR
RAND_INC (T_ATTR)
/* Create a group */
- if ((ids[T_GROUP] = H5Gcreate2 (ids[T_FILE], GROUP_NAME, H5P_DEFAULT,
+ if ((ids[T_GROUP] = H5Gcreate2 (ids[T_FILE], APPREF_GROUP, H5P_DEFAULT,
H5P_DEFAULT, H5P_DEFAULT)) < 0)
TEST_ERROR