mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r13171] Description:
Add "const" to a parameter that can allow it. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
This commit is contained in:
parent
422f61b604
commit
be5c024fac
@ -277,7 +277,7 @@ H5G_obj_ent_decode(H5F_t *f, const uint8_t **pp, H5O_loc_t *oloc)
|
|||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
herr_t
|
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);
|
uint8_t *p_ret = *pp + H5G_SIZEOF_ENTRY(f);
|
||||||
|
|
||||||
|
@ -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,
|
H5_DLL herr_t H5G_obj_ent_decode(H5F_t *f, const uint8_t **pp,
|
||||||
struct H5O_loc_t *oloc);
|
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);
|
const struct H5O_loc_t *oloc);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user