diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-11-20 13:25:45 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-11-20 13:25:45 (GMT) |
commit | c244ca03693e45d94939abc335efa8ebedad4f59 (patch) | |
tree | e5200d102929582f4f395182af89722aa55cf8be /src | |
parent | b5e3e19f860a8ca0ebd4b7149f99a725c9d67f9f (diff) | |
download | hdf5-c244ca03693e45d94939abc335efa8ebedad4f59.zip hdf5-c244ca03693e45d94939abc335efa8ebedad4f59.tar.gz hdf5-c244ca03693e45d94939abc335efa8ebedad4f59.tar.bz2 |
[svn-r6116] Purpose:
Code cleanup
Description:
Finish checkin of H5A API cleanups with header files I forgot on the first
checkin pass.
Platforms tested:
Tested h5committest {arabica (fortran), eirene (fortran, C++)
modi4 (parallel, fortran)}
FreeBSD 4.7 (sleipnir)
Diffstat (limited to 'src')
-rw-r--r-- | src/H5Aprivate.h | 2 | ||||
-rw-r--r-- | src/H5Apublic.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Aprivate.h b/src/H5Aprivate.h index 7f61a12..14d55d0 100644 --- a/src/H5Aprivate.h +++ b/src/H5Aprivate.h @@ -29,6 +29,6 @@ H5_DLL H5A_t *H5A_copy(const H5A_t *old_attr); H5_DLL herr_t H5A_close(H5A_t *attr); H5_DLL H5G_entry_t *H5A_entof(H5A_t *attr); H5_DLL hsize_t H5A_get_storage_size(H5A_t *attr); -H5_DLL herr_t H5A_rename(H5G_entry_t *ent, char *old_name, char *new_name); +H5_DLL herr_t H5A_rename(H5G_entry_t *ent, const char *old_name, const char *new_name); #endif diff --git a/src/H5Apublic.h b/src/H5Apublic.h index 218e481..77ab196 100644 --- a/src/H5Apublic.h +++ b/src/H5Apublic.h @@ -39,7 +39,7 @@ H5_DLL hid_t H5Aget_type(hid_t attr_id); H5_DLL ssize_t H5Aget_name(hid_t attr_id, size_t buf_size, char *buf); H5_DLL hsize_t H5Aget_storage_size(hid_t attr_id); H5_DLL int H5Aget_num_attrs(hid_t loc_id); -H5_DLL herr_t H5Arename(hid_t loc_id, char *old_name, char *new_name); +H5_DLL herr_t H5Arename(hid_t loc_id, const char *old_name, const char *new_name); H5_DLL herr_t H5Aiterate(hid_t loc_id, unsigned *attr_num, H5A_operator_t op, void *op_data); H5_DLL herr_t H5Adelete(hid_t loc_id, const char *name); |