summaryrefslogtreecommitdiffstats
path: root/src/H5Oprivate.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-04-23 22:55:18 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-04-23 22:55:18 (GMT)
commitd7d8cf1159fb819a544ac7aa46ee9b30b4a2c50b (patch)
tree4471fb2f71c7b86e9f11fc42a4f843dc9029f123 /src/H5Oprivate.h
parentb2df2fa6771f46c910fb2b248c9d8b885afc2592 (diff)
downloadhdf5-d7d8cf1159fb819a544ac7aa46ee9b30b4a2c50b.zip
hdf5-d7d8cf1159fb819a544ac7aa46ee9b30b4a2c50b.tar.gz
hdf5-d7d8cf1159fb819a544ac7aa46ee9b30b4a2c50b.tar.bz2
[svn-r16851] Description:
Clean up compiler warnings Tested on: Mac OS X/32 10.5.6 (amazon) (too minor to require h5committest)
Diffstat (limited to 'src/H5Oprivate.h')
-rw-r--r--src/H5Oprivate.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/H5Oprivate.h b/src/H5Oprivate.h
index d3e3313..018bc77 100644
--- a/src/H5Oprivate.h
+++ b/src/H5Oprivate.h
@@ -546,11 +546,13 @@ typedef herr_t (*H5O_lib_operator_t)(H5O_t *oh, H5O_mesg_t *mesg/*in,out*/,
unsigned sequence, hbool_t *oh_modified/*out*/, void *operator_data/*in,out*/);
/* Some syntactic sugar to make the compiler happy with two different kinds of iterator callbacks */
+typedef enum H5O_mesg_operator_type_t {
+ H5O_MESG_OP_APP, /* Application callback */
+ H5O_MESG_OP_LIB /* Library internal callback */
+} H5O_mesg_operator_type_t;
+
typedef struct {
- enum {
- H5O_MESG_OP_APP, /* Application callback */
- H5O_MESG_OP_LIB /* Library internal callback */
- } op_type;
+ H5O_mesg_operator_type_t op_type;
union {
H5O_operator_t app_op; /* Application callback for each message */
H5O_lib_operator_t lib_op; /* Library internal callback for each message */