summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/h5_attribute.c3
-rw-r--r--examples/h5_select.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/examples/h5_attribute.c b/examples/h5_attribute.c
index ab2c539..23632ca 100644
--- a/examples/h5_attribute.c
+++ b/examples/h5_attribute.c
@@ -12,7 +12,6 @@
#include <stdlib.h>
#include <hdf5.h>
-#include <H5private.h>
#define FILE "Attributes.h5"
@@ -46,7 +45,7 @@ main (void)
float matrix[ADIM1][ADIM2]; /* Attribute data */
herr_t ret; /* Return value */
- uint32 i,j; /* Counters */
+ unsigned i,j; /* Counters */
int idx; /* Attribute index */
char string_out[80]; /* Buffer to read string attribute back */
int point_out; /* Buffer to read scalar attribute back */
diff --git a/examples/h5_select.c b/examples/h5_select.c
index 0c61e85..0137221 100644
--- a/examples/h5_select.c
+++ b/examples/h5_select.c
@@ -10,7 +10,6 @@
*/
#include <hdf5.h>
-#include <H5private.h>
#define FILE "Select.h5"
@@ -58,7 +57,7 @@ int main (void)
hssize_t coord[NPOINTS][FSPACE_RANK]; /* Array to store selected points
from the file dataspace */
herr_t ret;
- uint32 i,j;
+ unsigned i,j;
int matrix[FSPACE_DIM1][FSPACE_DIM2]; /* Buffer to write to the dataset */
int matrix_out[MSPACE_DIM1][MSPACE_DIM2]; /* Buffer to read from the
dataset */