summaryrefslogtreecommitdiffstats
path: root/src/H5Obogus.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-01-23 03:46:31 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-01-23 03:46:31 (GMT)
commit0c9bd3d4e27b7188825c6e71fc47931fdfb8ed1c (patch)
tree02ecf7104bff4571de31ac0254449b3d0e2b0642 /src/H5Obogus.c
parent58db19e6c576fbc12fdf756f1c2aee8186f1e90a (diff)
downloadhdf5-0c9bd3d4e27b7188825c6e71fc47931fdfb8ed1c.zip
hdf5-0c9bd3d4e27b7188825c6e71fc47931fdfb8ed1c.tar.gz
hdf5-0c9bd3d4e27b7188825c6e71fc47931fdfb8ed1c.tar.bz2
[svn-r13176] Description:
Push code further toward shared message method calling refactor. Tested on: FreeBSD/32 6.2 (duty) Too minor to require h5committest
Diffstat (limited to 'src/H5Obogus.c')
-rw-r--r--src/H5Obogus.c19
1 files changed, 8 insertions, 11 deletions
diff --git a/src/H5Obogus.c b/src/H5Obogus.c
index 627977e..93475cd 100644
--- a/src/H5Obogus.c
+++ b/src/H5Obogus.c
@@ -24,22 +24,20 @@
* correct operation when parsing unknown object header
* messages.
*
- * Modifications:
- *
*-------------------------------------------------------------------------
*/
#define H5O_PACKAGE /*suppress error about including H5Opkg */
-#include "H5private.h"
-#include "H5Eprivate.h"
-#include "H5MMprivate.h"
-#include "H5Opkg.h" /* Object header functions */
+#include "H5private.h" /* Generic Functions */
+#include "H5Eprivate.h" /* Error handling */
+#include "H5MMprivate.h" /* Memory management */
+#include "H5Opkg.h" /* Object headers */
#ifdef H5O_ENABLE_BOGUS
/* PRIVATE PROTOTYPES */
-static void *H5O_bogus_decode(H5F_t *f, hid_t dxpl_id, const uint8_t *p);
+static void *H5O_bogus_decode(H5F_t *f, hid_t dxpl_id, unsigned UNUSED mesg_flags, const uint8_t *p);
static herr_t H5O_bogus_encode(H5F_t *f, uint8_t *p, const void *_mesg);
static size_t H5O_bogus_size(const H5F_t *f, const void *_mesg);
static herr_t H5O_bogus_debug(H5F_t *f, hid_t dxpl_id, const void *_mesg, FILE * stream,
@@ -83,14 +81,13 @@ const H5O_msg_class_t H5O_MSG_BOGUS[1] = {{
* koziol@ncsa.uiuc.edu
* Jan 21 2003
*
- * Modifications:
- *
*-------------------------------------------------------------------------
*/
static void *
-H5O_bogus_decode(H5F_t UNUSED *f, hid_t dxpl_id, const uint8_t *p)
+H5O_bogus_decode(H5F_t UNUSED *f, hid_t dxpl_id, unsigned UNUSED mesg_flags,
+ const uint8_t *p)
{
- H5O_bogus_t *mesg=NULL;
+ H5O_bogus_t *mesg = NULL;
void *ret_value; /* Return value */
FUNC_ENTER_NOAPI_NOINIT(H5O_bogus_decode);