From c244ca03693e45d94939abc335efa8ebedad4f59 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Wed, 20 Nov 2002 08:25:45 -0500 Subject: [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) --- src/H5Aprivate.h | 2 +- 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); -- cgit v0.12