summaryrefslogtreecommitdiffstats
path: root/src/H5P.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-05-22 20:27:33 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-05-22 20:27:33 (GMT)
commit2232cf942df7b81ce44888a33e91fbe7077a1f6b (patch)
treed325d7a1445e654e625f122bd3a27df12cfa3706 /src/H5P.c
parent987146cc8e2853ed164769c9de5c2837385ae114 (diff)
downloadhdf5-2232cf942df7b81ce44888a33e91fbe7077a1f6b.zip
hdf5-2232cf942df7b81ce44888a33e91fbe7077a1f6b.tar.gz
hdf5-2232cf942df7b81ce44888a33e91fbe7077a1f6b.tar.bz2
[svn-r13794] Description:
Add 'const' to some pointers in internal routines. Tested on: Linux/32 2.6 (chicago)
Diffstat (limited to 'src/H5P.c')
-rw-r--r--src/H5P.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5P.c b/src/H5P.c
index 17f0b57..fa3d446 100644
--- a/src/H5P.c
+++ b/src/H5P.c
@@ -1023,7 +1023,7 @@ done:
--------------------------------------------------------------------------*/
static H5P_genprop_t *
H5P_create_prop(const char *name, size_t size, H5P_prop_within_t type,
- void *value,
+ const void *value,
H5P_prp_create_func_t prp_create, H5P_prp_set_func_t prp_set,
H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete,
H5P_prp_copy_func_t prp_copy, H5P_prp_compare_func_t prp_cmp,
@@ -2064,7 +2064,7 @@ done:
--------------------------------------------------------------------------*/
herr_t
H5P_register(H5P_genclass_t *pclass, const char *name, size_t size,
- void *def_value, H5P_prp_create_func_t prp_create, H5P_prp_set_func_t prp_set,
+ const void *def_value, H5P_prp_create_func_t prp_create, H5P_prp_set_func_t prp_set,
H5P_prp_get_func_t prp_get, H5P_prp_delete_func_t prp_delete,
H5P_prp_copy_func_t prp_copy, H5P_prp_compare_func_t prp_cmp,
H5P_prp_close_func_t prp_close)