summaryrefslogtreecommitdiffstats
path: root/src/H5HGquery.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5HGquery.c')
-rw-r--r--src/H5HGquery.c34
1 files changed, 9 insertions, 25 deletions
diff --git a/src/H5HGquery.c b/src/H5HGquery.c
index a1b3777..9e4c789 100644
--- a/src/H5HGquery.c
+++ b/src/H5HGquery.c
@@ -1,20 +1,17 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
- * Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
- * the files COPYING and Copyright.html. COPYING can be found at the root *
- * of the source code distribution tree; Copyright.html can be found at the *
- * root level of an installed copy of the electronic HDF5 document set and *
- * is linked from the top-level documents page. It can also be found at *
- * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
- * access to either file, you may request a copy from help@hdfgroup.org. *
+ * the COPYING file, which can be found at the root of the source code *
+ * distribution tree, or in https://www.hdfgroup.org/licenses. *
+ * If you do not have access to either file, you may request a copy from *
+ * help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
- * Programmer: Quincey Koziol <koziol@hdfgroup.org>
+ * Programmer: Quincey Koziol
* Wednesday, July 20, 2011
*
* Purpose: Query routines for global heaps.
@@ -25,53 +22,43 @@
/* Module Setup */
/****************/
-#define H5HG_PACKAGE /*suppress error about including H5HGpkg */
-
+#include "H5HGmodule.h" /* This source code file is part of the H5HG module */
/***********/
/* Headers */
/***********/
-#include "H5private.h" /* Generic Functions */
-#include "H5Eprivate.h" /* Error handling */
-#include "H5HGpkg.h" /* Global heaps */
-
+#include "H5private.h" /* Generic Functions */
+#include "H5Eprivate.h" /* Error handling */
+#include "H5HGpkg.h" /* Global heaps */
/****************/
/* Local Macros */
/****************/
-
/******************/
/* Local Typedefs */
/******************/
-
/********************/
/* Package Typedefs */
/********************/
-
/********************/
/* Local Prototypes */
/********************/
-
/*********************/
/* Package Variables */
/*********************/
-
/*****************************/
/* Library Private Variables */
/*****************************/
-
/*******************/
/* Local Variables */
/*******************/
-
-
/*-------------------------------------------------------------------------
* Function: H5HG_get_addr
*
@@ -95,7 +82,6 @@ H5HG_get_addr(const H5HG_heap_t *heap)
FUNC_LEAVE_NOAPI(heap->addr)
} /* H5HG_get_addr() */
-
/*-------------------------------------------------------------------------
* Function: H5HG_get_size
*
@@ -119,7 +105,6 @@ H5HG_get_size(const H5HG_heap_t *heap)
FUNC_LEAVE_NOAPI(heap->size)
} /* H5HG_get_size() */
-
/*-------------------------------------------------------------------------
* Function: H5HG_get_free_size
*
@@ -142,4 +127,3 @@ H5HG_get_free_size(const H5HG_heap_t *heap)
FUNC_LEAVE_NOAPI(heap->obj[0].size)
} /* H5HG_get_free_size() */
-