summaryrefslogtreecommitdiffstats
path: root/examples/h5_attribute.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/h5_attribute.c')
-rw-r--r--examples/h5_attribute.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/h5_attribute.c b/examples/h5_attribute.c
index 37da2bd..6070d81 100644
--- a/examples/h5_attribute.c
+++ b/examples/h5_attribute.c
@@ -14,7 +14,7 @@
#include "hdf5.h"
-#define FILE "Attributes.h5"
+#define H5FILE_NAME "Attributes.h5"
#define RANK 1 /* Rank and size of the dataset */
#define SIZE 7
@@ -67,7 +67,7 @@ main (void)
/*
* Create a file.
*/
- file = H5Fcreate(FILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
+ file = H5Fcreate(H5FILE_NAME, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
/*
* Create the dataspace for the dataset in the file.
@@ -155,7 +155,7 @@ main (void)
/*
* Reopen the file.
*/
- file = H5Fopen(FILE, H5F_ACC_RDONLY, H5P_DEFAULT);
+ file = H5Fopen(H5FILE_NAME, H5F_ACC_RDONLY, H5P_DEFAULT);
/*
* Open the dataset.