summaryrefslogtreecommitdiffstats
path: root/src/H5Apkg.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/H5Apkg.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/H5Apkg.h')
-rw-r--r--src/H5Apkg.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/H5Apkg.h b/src/H5Apkg.h
index b166b06..3c62635 100644
--- a/src/H5Apkg.h
+++ b/src/H5Apkg.h
@@ -163,14 +163,16 @@ typedef struct {
typedef herr_t (*H5A_lib_iterate_t)(const H5A_t *attr, void *op_data);
/* Describe kind of callback to make for each attribute */
-struct H5A_attr_iter_op_t {
- enum {
+typedef enum H5A_attr_iter_op_type_t {
#ifndef H5_NO_DEPRECATED_SYMBOLS
- H5A_ATTR_OP_APP, /* Application callback */
+ H5A_ATTR_OP_APP, /* Application callback */
#endif /* H5_NO_DEPRECATED_SYMBOLS */
- H5A_ATTR_OP_APP2, /* Revised application callback */
- H5A_ATTR_OP_LIB /* Library internal callback */
- } op_type;
+ H5A_ATTR_OP_APP2, /* Revised application callback */
+ H5A_ATTR_OP_LIB /* Library internal callback */
+} H5A_attr_iter_op_type_t;
+
+typedef struct H5A_attr_iter_op_t {
+ H5A_attr_iter_op_type_t op_type;
union {
#ifndef H5_NO_DEPRECATED_SYMBOLS
H5A_operator1_t app_op; /* Application callback for each attribute */
@@ -178,7 +180,7 @@ struct H5A_attr_iter_op_t {
H5A_operator2_t app_op2; /* Revised application callback for each attribute */
H5A_lib_iterate_t lib_op; /* Library internal callback for each attribute */
} u;
-};
+} H5A_attr_iter_op_t;
/*****************************/