summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5Aprivate.h2
-rw-r--r--src/H5Apublic.h2
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);