summaryrefslogtreecommitdiffstats
path: root/src/H5P.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-03-08 16:29:22 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-03-08 16:29:22 (GMT)
commitca757b033ff2aa41e513b93040e158de2efcfc9c (patch)
treef079a3b588186ad8705ec7f28427b67367688e8f /src/H5P.c
parent51d196f63514f5b0847d21e1d7c524fae2260e4c (diff)
downloadhdf5-ca757b033ff2aa41e513b93040e158de2efcfc9c.zip
hdf5-ca757b033ff2aa41e513b93040e158de2efcfc9c.tar.gz
hdf5-ca757b033ff2aa41e513b93040e158de2efcfc9c.tar.bz2
[svn-r3559] Purpose:
C++ compatibility fix Description: 'delete' is a reserved word in C++ Solution: Change structure member named 'delete' into 'del' Platforms tested: FreeBSD 4.2 (hawkwind)
Diffstat (limited to 'src/H5P.c')
-rw-r--r--src/H5P.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5P.c b/src/H5P.c
index d9a55d3..61b4bfd 100644
--- a/src/H5P.c
+++ b/src/H5P.c
@@ -4079,7 +4079,7 @@ H5P_create_prop(const char *name, size_t size, void *def_value, void *value,
prop->create=prp_create;
prop->set=prp_set;
prop->get=prp_get;
- prop->delete=prp_delete;
+ prop->del=prp_delete;
prop->close=prp_close;
/* Reset the link to the next property */
@@ -6930,9 +6930,9 @@ static herr_t H5P_remove(hid_t plist_id, H5P_genplist_t *plist, const char *name
HGOTO_ERROR(H5E_PLIST, H5E_NOTFOUND, FAIL, "property doesn't exist");
/* Pass value to 'close' callback, if it exists */
- if(prop->delete!=NULL) {
+ if(prop->del!=NULL) {
/* Call user's callback */
- if((*(prop->delete))(plist_id,name,prop->value)<0)
+ if((*(prop->del))(plist_id,name,prop->value)<0)
HRETURN_ERROR(H5E_PLIST, H5E_CANTINIT, FAIL, "can't close property value");
} /* end if */