summaryrefslogtreecommitdiffstats
path: root/src/H5A.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-11-20 12:52:40 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-11-20 12:52:40 (GMT)
commitef92748be63cd0942846b5201fe72e7eb12e7d20 (patch)
treef48a634ec9e817ed87c70276e3bb87e91e1a0d38 /src/H5A.c
parentb09b4662b49ce935880bb1ffccdcf2276d48ae88 (diff)
downloadhdf5-ef92748be63cd0942846b5201fe72e7eb12e7d20.zip
hdf5-ef92748be63cd0942846b5201fe72e7eb12e7d20.tar.gz
hdf5-ef92748be63cd0942846b5201fe72e7eb12e7d20.tar.bz2
[svn-r6108] Purpose:
Code cleanup. Description: Cleaned up compiler warnings & updated a few comments. Platforms tested: Tested h5committest {arabica (fortran), eirene (fortran, C++) modi4 (parallel, fortran)} FreeBSD 4.7 (sleipnir)
Diffstat (limited to 'src/H5A.c')
-rw-r--r--src/H5A.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5A.c b/src/H5A.c
index 443f800..8f7f0bb 100644
--- a/src/H5A.c
+++ b/src/H5A.c
@@ -1136,7 +1136,7 @@ done:
*-------------------------------------------------------------------------
*/
herr_t
-H5Arename(hid_t loc_id, char *old_name, char *new_name)
+H5Arename(hid_t loc_id, const char *old_name, const char *new_name)
{
H5G_entry_t *ent = NULL; /*symtab ent of object to attribute */
herr_t ret_value; /* Return value */
@@ -1177,7 +1177,7 @@ done:
*-------------------------------------------------------------------------
*/
herr_t
-H5A_rename(H5G_entry_t *ent, char *old_name, char *new_name)
+H5A_rename(H5G_entry_t *ent, const char *old_name, const char *new_name)
{
int seq, idx=FAIL; /* Index of attribute being querried */
H5A_t *found_attr; /* Attribute with OLD_NAME */