summaryrefslogtreecommitdiffstats
path: root/src/H5Gstab.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2011-07-19 22:47:59 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2011-07-19 22:47:59 (GMT)
commitd7e8828f70bcc1395e8511e8198d2bacab8f9661 (patch)
tree30567c79ca101ce809ac3ee2fa598abe43c33b8e /src/H5Gstab.c
parent27775305d6a0d314b65457df5c3b4fcb8a67677a (diff)
downloadhdf5-d7e8828f70bcc1395e8511e8198d2bacab8f9661.zip
hdf5-d7e8828f70bcc1395e8511e8198d2bacab8f9661.tar.gz
hdf5-d7e8828f70bcc1395e8511e8198d2bacab8f9661.tar.bz2
[svn-r21126] Description:
Clean up some compiler warnings, but mainly an interim checkin on the path of reducing code coupling in the library by removing most of the places which were accessing H5F package definitions. Tested on: Mac OS X/32 10.6.8 (amazon) w/debug FreeBSD/32 8.2 (loyalty) w/debug FreeBSD/64 8.2 (freedom) w/debug Linux/64 2.6 (heiwa) w/debug Linux/64 2.6 (ember) w/parallel
Diffstat (limited to 'src/H5Gstab.c')
-rw-r--r--src/H5Gstab.c49
1 files changed, 44 insertions, 5 deletions
diff --git a/src/H5Gstab.c b/src/H5Gstab.c
index 001c463..cd5362b 100644
--- a/src/H5Gstab.c
+++ b/src/H5Gstab.c
@@ -17,19 +17,34 @@
* Friday, September 19, 1997
*
*/
-#define H5F_PACKAGE /*suppress error about including H5Fpkg */
+
+/****************/
+/* Module Setup */
+/****************/
+
#define H5G_PACKAGE /*suppress error about including H5Gpkg */
-/* Packages needed by this file... */
+/***********/
+/* Headers */
+/***********/
#include "H5private.h" /* Generic Functions */
#include "H5Eprivate.h" /* Error handling */
-#include "H5Fpkg.h" /* File access */
+#include "H5Fprivate.h" /* File access */
#include "H5Gpkg.h" /* Groups */
#include "H5HLprivate.h" /* Local Heaps */
#include "H5MMprivate.h" /* Memory management */
-/* Private typedefs */
+
+/****************/
+/* Local Macros */
+/****************/
+
+
+/******************/
+/* Local Typedefs */
+/******************/
+
/* User data for finding link information from B-tree */
typedef struct {
/* downward */
@@ -74,7 +89,31 @@ typedef struct H5G_bt_it_lbi_t {
hbool_t found; /*whether we found the link */
} H5G_bt_it_lbi_t;
-/* Private prototypes */
+
+/********************/
+/* Package Typedefs */
+/********************/
+
+
+/********************/
+/* Local Prototypes */
+/********************/
+
+
+/*********************/
+/* Package Variables */
+/*********************/
+
+
+/*****************************/
+/* Library Private Variables */
+/*****************************/
+
+
+/*******************/
+/* Local Variables */
+/*******************/
+
/*-------------------------------------------------------------------------