summaryrefslogtreecommitdiffstats
path: root/src/H5Apublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-04-19 21:48:04 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-04-19 21:48:04 (GMT)
commite0c96798a5fe4f4d3b5a285bf92cb97ae2f59e9e (patch)
tree0bc092cf8d19397af63abab6e08965b92c47b549 /src/H5Apublic.h
parentca9bdbdcbe7fb52263e5d28f072af01bb6f56fe9 (diff)
downloadhdf5-e0c96798a5fe4f4d3b5a285bf92cb97ae2f59e9e.zip
hdf5-e0c96798a5fe4f4d3b5a285bf92cb97ae2f59e9e.tar.gz
hdf5-e0c96798a5fe4f4d3b5a285bf92cb97ae2f59e9e.tar.bz2
[svn-r3828] Purpose:
Code cleanup Description: "buf" parameter to H5Awrite was missing 'const' declaration. Solution: Changed from "void *buf" to "const void *buf" Platforms tested: FreeBSD 4.3 (hawkwind)
Diffstat (limited to 'src/H5Apublic.h')
-rw-r--r--src/H5Apublic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Apublic.h b/src/H5Apublic.h
index cb20061..0e2c7fd 100644
--- a/src/H5Apublic.h
+++ b/src/H5Apublic.h
@@ -31,7 +31,7 @@ __DLL__ hid_t H5Acreate(hid_t loc_id, const char *name, hid_t type_id,
hid_t space_id, hid_t plist_id);
__DLL__ hid_t H5Aopen_name(hid_t loc_id, const char *name);
__DLL__ hid_t H5Aopen_idx(hid_t loc_id, unsigned idx);
-__DLL__ herr_t H5Awrite(hid_t attr_id, hid_t type_id, void *buf);
+__DLL__ herr_t H5Awrite(hid_t attr_id, hid_t type_id, const void *buf);
__DLL__ herr_t H5Aread(hid_t attr_id, hid_t type_id, void *buf);
__DLL__ herr_t H5Aclose(hid_t attr_id);
__DLL__ hid_t H5Aget_space(hid_t attr_id);