diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2012-12-12 14:56:39 (GMT) |
---|---|---|
committer | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2012-12-12 14:56:39 (GMT) |
commit | 8dc9f39570e4368291f2016961a3658d2945b942 (patch) | |
tree | 46cae5ac2675fe39275e4d1b1fb16c8ca10b7af3 /examples/h5_rdwt.c | |
parent | e92f4b1a7c2c0f4f41dc9a4102584e0dfa3988a3 (diff) | |
download | hdf5-8dc9f39570e4368291f2016961a3658d2945b942.zip hdf5-8dc9f39570e4368291f2016961a3658d2945b942.tar.gz hdf5-8dc9f39570e4368291f2016961a3658d2945b942.tar.bz2 |
[svn-r23093] Fixed API to be 1.6 compliant, removed deprecated APIs
Checked: jam (gnu, mpi) --disable-deprecated-symbols, --with-default-api-version=v16
Diffstat (limited to 'examples/h5_rdwt.c')
-rw-r--r-- | examples/h5_rdwt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_rdwt.c b/examples/h5_rdwt.c index 2f9d649..d5444e0 100644 --- a/examples/h5_rdwt.c +++ b/examples/h5_rdwt.c @@ -36,7 +36,7 @@ int main() { file_id = H5Fopen(FILE, H5F_ACC_RDWR, H5P_DEFAULT);
/* Open an existing dataset. */
- dataset_id = H5Dopen(file_id, "/dset", H5P_DEFAULT);
+ dataset_id = H5Dopen2(file_id, "/dset", H5P_DEFAULT);
/* Write the dataset. */
status = H5Dwrite(dataset_id, H5T_NATIVE_INT, H5S_ALL, H5S_ALL, H5P_DEFAULT,
|