diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-11-20 12:52:40 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-11-20 12:52:40 (GMT) |
commit | ef92748be63cd0942846b5201fe72e7eb12e7d20 (patch) | |
tree | f48a634ec9e817ed87c70276e3bb87e91e1a0d38 /src/H5A.c | |
parent | b09b4662b49ce935880bb1ffccdcf2276d48ae88 (diff) | |
download | hdf5-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |