From aedecd83a1ea3142b6d608373c4cbd500d2542d5 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Mon, 16 Nov 2009 15:55:01 -0500 Subject: [svn-r17897] Description: Correct ordering of "unknown" object header message in lists of messages. Tested on: FreeBSD/32 6.3 (duty) in debug mode (too minor to require h5committest) --- src/H5O.c | 2 +- src/H5Opkg.h | 8 ++++---- src/H5Oprivate.h | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/H5O.c b/src/H5O.c index 24b8fee..9e9e1b9 100644 --- a/src/H5O.c +++ b/src/H5O.c @@ -125,8 +125,8 @@ const H5O_msg_class_t *const H5O_msg_class_g[] = { H5O_MSG_DRVINFO, /*0x0014 Driver info settings */ H5O_MSG_AINFO, /*0x0015 Attribute information */ H5O_MSG_REFCOUNT, /*0x0016 Object's ref. count */ - H5O_MSG_UNKNOWN, /*0x0017 Placeholder for unknown message */ H5O_MSG_FSINFO, /*0x0018 Free-space manager info message */ + H5O_MSG_UNKNOWN, /*0x0017 Placeholder for unknown message */ }; /* Declare a free list to manage the H5O_t struct */ diff --git a/src/H5Opkg.h b/src/H5Opkg.h index 3cae227..ce2c5f1 100644 --- a/src/H5Opkg.h +++ b/src/H5Opkg.h @@ -449,12 +449,12 @@ H5_DLLVAR const H5O_msg_class_t H5O_MSG_AINFO[1]; /* Reference Count Message. (0x0016) */ H5_DLLVAR const H5O_msg_class_t H5O_MSG_REFCOUNT[1]; -/* Placeholder for unknown message. (0x0017) */ -H5_DLLVAR const H5O_msg_class_t H5O_MSG_UNKNOWN[1]; - -/* Free-space Manager Info message. (0x0018) */ +/* Free-space Manager Info message. (0x0017) */ H5_DLLVAR const H5O_msg_class_t H5O_MSG_FSINFO[1]; +/* Placeholder for unknown message. (0x0018) */ +H5_DLLVAR const H5O_msg_class_t H5O_MSG_UNKNOWN[1]; + /* * Object header "object" types */ diff --git a/src/H5Oprivate.h b/src/H5Oprivate.h index 5199c20..df772cc 100644 --- a/src/H5Oprivate.h +++ b/src/H5Oprivate.h @@ -167,9 +167,9 @@ typedef struct H5O_copy_t { #define H5O_DRVINFO_ID 0x0014 /* Driver info message. */ #define H5O_AINFO_ID 0x0015 /* Attribute info message. */ #define H5O_REFCOUNT_ID 0x0016 /* Reference count message. */ -#define H5O_UNKNOWN_ID 0x0017 /* Placeholder message ID for unknown message. */ +#define H5O_FSINFO_ID 0x0017 /* Free-space manager info message. */ +#define H5O_UNKNOWN_ID 0x0018 /* Placeholder message ID for unknown message. */ /* (this should never exist in a file) */ -#define H5O_FSINFO_ID 0x0018 /* Free-space manager info message. */ /* Shared object message types. -- cgit v0.12