diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-06-18 20:54:19 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-06-18 20:54:19 (GMT) |
commit | 4fc73028edd0829b1e45ebe9c597cb91d49a9963 (patch) | |
tree | bbe35982b184c142c8f2b17ae69442189d805c90 /src | |
parent | 1aeaa7fbb1072d18a533b7bbf8f996f6b194de73 (diff) | |
download | hdf5-4fc73028edd0829b1e45ebe9c597cb91d49a9963.zip hdf5-4fc73028edd0829b1e45ebe9c597cb91d49a9963.tar.gz hdf5-4fc73028edd0829b1e45ebe9c597cb91d49a9963.tar.bz2 |
[svn-r7060] Purpose:
Code cleanup
Description:
Change some variables that are keywords in C++ to non-keywords.
Platforms tested:
FreeBSD 4.8 (sleipnir)
too minor to require full h5committest
Diffstat (limited to 'src')
-rw-r--r-- | src/H5O.c | 4 | ||||
-rw-r--r-- | src/H5Opkg.h | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -3173,7 +3173,7 @@ H5O_delete_oh(H5F_t *f, hid_t dxpl_id, H5O_t *oh) type = curr_msg->type; /* Check if there is a file space deletion callback for this type of message */ - if(type->delete) { + if(type->del) { /* * Decode the message if necessary. */ @@ -3184,7 +3184,7 @@ H5O_delete_oh(H5F_t *f, hid_t dxpl_id, H5O_t *oh) HGOTO_ERROR(H5E_OHDR, H5E_CANTDECODE, FAIL, "unable to decode message"); } /* end if */ - if ((type->delete)(f, dxpl_id, curr_msg->native)<0) + if ((type->del)(f, dxpl_id, curr_msg->native)<0) HGOTO_ERROR(H5E_OHDR, H5E_CANTDELETE, FAIL, "unable to delete file space for object header message"); } /* end if */ } /* end for */ diff --git a/src/H5Opkg.h b/src/H5Opkg.h index ceb4ae3..1255764 100644 --- a/src/H5Opkg.h +++ b/src/H5Opkg.h @@ -66,7 +66,7 @@ typedef struct H5O_class_t { size_t (*raw_size)(H5F_t*, const void*);/*sizeof raw val */ herr_t (*reset)(void *); /*free nested data structs */ herr_t (*free)(void *); /*free main data struct */ - herr_t (*delete)(H5F_t *, hid_t, const void *); /* Delete space in file referenced by this message */ + herr_t (*del)(H5F_t *, hid_t, const void *); /* Delete space in file referenced by this message */ herr_t (*get_share)(H5F_t*, const void*, struct H5O_shared_t*); /* Get shared information */ herr_t (*set_share)(H5F_t*, void*, const struct H5O_shared_t*); /* Set shared information */ herr_t (*debug)(H5F_t*, hid_t, const void*, FILE*, int, int); |