summaryrefslogtreecommitdiffstats
path: root/src/H5Gpkg.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/H5Gpkg.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/H5Gpkg.h')
-rw-r--r--src/H5Gpkg.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/H5Gpkg.h b/src/H5Gpkg.h
index 0840ee7..3d25109 100644
--- a/src/H5Gpkg.h
+++ b/src/H5Gpkg.h
@@ -144,13 +144,15 @@ struct H5G_t {
typedef herr_t (*H5G_lib_iterate_t)(const H5O_link_t *lnk, void *op_data);
/* Describe kind of callback to make for each link */
-typedef struct {
- enum {
+typedef enum H5G_link_iterate_op_type_t {
#ifndef H5_NO_DEPRECATED_SYMBOLS
- H5G_LINK_OP_OLD, /* "Old" application callback */
+ H5G_LINK_OP_OLD, /* "Old" application callback */
#endif /* H5_NO_DEPRECATED_SYMBOLS */
- H5G_LINK_OP_NEW /* "New" application callback */
- } op_type;
+ H5G_LINK_OP_NEW /* "New" application callback */
+} H5G_link_iterate_op_type_t;
+
+typedef struct {
+ H5G_link_iterate_op_type_t op_type;
union {
#ifndef H5_NO_DEPRECATED_SYMBOLS
H5G_iterate_t op_old; /* "Old" application callback for each link */