summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-01-22 22:41:34 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-01-22 22:41:34 (GMT)
commitbe5c024fac9ca8185f6a17645c6a5a93330a29be (patch)
treef271c2c09ca8e96182bf4f00a946d1d2d1ea4717 /src
parent422f61b604e02aaae527272864bdb3efcd6a2fbd (diff)
downloadhdf5-be5c024fac9ca8185f6a17645c6a5a93330a29be.zip
hdf5-be5c024fac9ca8185f6a17645c6a5a93330a29be.tar.gz
hdf5-be5c024fac9ca8185f6a17645c6a5a93330a29be.tar.bz2
[svn-r13171] Description:
Add "const" to a parameter that can allow it. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'src')
-rw-r--r--src/H5Gobj.c2
-rw-r--r--src/H5Gprivate.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Gobj.c b/src/H5Gobj.c
index b7075ec..8cb384d 100644
--- a/src/H5Gobj.c
+++ b/src/H5Gobj.c
@@ -277,7 +277,7 @@ H5G_obj_ent_decode(H5F_t *f, const uint8_t **pp, H5O_loc_t *oloc)
*-------------------------------------------------------------------------
*/
herr_t
-H5G_obj_ent_encode(H5F_t *f, uint8_t **pp, const H5O_loc_t *oloc)
+H5G_obj_ent_encode(const H5F_t *f, uint8_t **pp, const H5O_loc_t *oloc)
{
uint8_t *p_ret = *pp + H5G_SIZEOF_ENTRY(f);
diff --git a/src/H5Gprivate.h b/src/H5Gprivate.h
index 2b444cf..304dd89 100644
--- a/src/H5Gprivate.h
+++ b/src/H5Gprivate.h
@@ -171,7 +171,7 @@ H5_DLL herr_t H5G_node_debug(H5F_t *f, hid_t dxpl_id, haddr_t addr, FILE *stream
*/
H5_DLL herr_t H5G_obj_ent_decode(H5F_t *f, const uint8_t **pp,
struct H5O_loc_t *oloc);
-H5_DLL herr_t H5G_obj_ent_encode(H5F_t *f, uint8_t **pp,
+H5_DLL herr_t H5G_obj_ent_encode(const H5F_t *f, uint8_t **pp,
const struct H5O_loc_t *oloc);
/*