diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-01-23 03:46:31 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-01-23 03:46:31 (GMT) |
commit | 0c9bd3d4e27b7188825c6e71fc47931fdfb8ed1c (patch) | |
tree | 02ecf7104bff4571de31ac0254449b3d0e2b0642 /src/H5Oshared.c | |
parent | 58db19e6c576fbc12fdf756f1c2aee8186f1e90a (diff) | |
download | hdf5-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/H5Oshared.c')
-rw-r--r-- | src/H5Oshared.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/H5Oshared.c b/src/H5Oshared.c index 19673a5..001b094 100644 --- a/src/H5Oshared.c +++ b/src/H5Oshared.c @@ -25,8 +25,8 @@ * the global heap. */ -#define H5F_PACKAGE /*suppress error about including H5Fpkg */ -#define H5O_PACKAGE /*suppress error about including H5Opkg */ +#define H5F_PACKAGE /*suppress error about including H5Fpkg */ +#define H5O_PACKAGE /*suppress error about including H5Opkg */ #include "H5private.h" /* Generic Functions */ @@ -39,7 +39,7 @@ #include "H5Opkg.h" /* Object headers */ #include "H5SMprivate.h" /* Shared object header messages */ -static void *H5O_shared_decode(H5F_t*, hid_t dxpl_id, const uint8_t*); +static void *H5O_shared_decode(H5F_t*, hid_t dxpl_id, unsigned mesg_flags, const uint8_t*); static herr_t H5O_shared_encode(H5F_t*, uint8_t*, const void*); static void *H5O_shared_copy(const void *_mesg, void *_dest); static size_t H5O_shared_size(const H5F_t*, const void *_mesg); @@ -353,13 +353,11 @@ done: * Programmer: Robb Matzke * Thursday, April 2, 1998 * - * Modifications: - * Robb Matzke, 1998-07-20 - * Added a version number to the beginning of the message. *------------------------------------------------------------------------- */ static void * -H5O_shared_decode(H5F_t *f, hid_t UNUSED dxpl_id, const uint8_t *buf) +H5O_shared_decode(H5F_t *f, hid_t UNUSED dxpl_id, unsigned UNUSED mesg_flags, + const uint8_t *buf) { H5O_shared_t *mesg = NULL; unsigned version; |