diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2008-08-21 16:50:14 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2008-08-21 16:50:14 (GMT) |
commit | e70ea8d243b5bad2212238aa21d6e094d76c9235 (patch) | |
tree | 7a98539779392aac49f030637e1786aaae3be1a0 /test/app_ref.c | |
parent | 2ab2b19d71590336bf69bfbfc293ac77f34f3acc (diff) | |
download | hdf5-e70ea8d243b5bad2212238aa21d6e094d76c9235.zip hdf5-e70ea8d243b5bad2212238aa21d6e094d76c9235.tar.gz hdf5-e70ea8d243b5bad2212238aa21d6e094d76c9235.tar.bz2 |
[svn-r15506] 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.c | 12 |
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 |