diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 1998-09-01 15:07:02 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 1998-09-01 15:07:02 (GMT) |
commit | 94a9576ee7bf5ea5db73984d492378822f6c684f (patch) | |
tree | a9546b708e42f416da2abbb3565cca081914d6b8 /examples/h5_select.c | |
parent | 697b9c5ad0a76333dc1cf5ee03aff1c350a4e887 (diff) | |
download | hdf5-94a9576ee7bf5ea5db73984d492378822f6c684f.zip hdf5-94a9576ee7bf5ea5db73984d492378822f6c684f.tar.gz hdf5-94a9576ee7bf5ea5db73984d492378822f6c684f.tar.bz2 |
[svn-r645] ./examples/h5_attribute.c
./examples/h5_select.c
Cosmetic changes to the source format
./examples/h5_chunk_read.c
./examples/h5_read.c
Third argument in the H5select_hyperslab
function had wrong datatype. Fixed.
Diffstat (limited to 'examples/h5_select.c')
-rw-r--r-- | examples/h5_select.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/h5_select.c b/examples/h5_select.c index 4de93e0..1ad3c04 100644 --- a/examples/h5_select.c +++ b/examples/h5_select.c @@ -31,7 +31,8 @@ #define NPOINTS 4 /* Number of points that will be selected and overwritten */ -int main (void) +int +main (void) { hid_t file, dataset; /* File and dataset identifiers */ @@ -200,5 +201,6 @@ for (i=0; i < MSPACE_DIM1; i++) { for(j=0; j < MSPACE_DIM2; j++) printf("%3d ", matrix[i][j]); printf("\n"); } + return 0; } |