summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-04-21 06:48:24 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-04-21 06:48:24 (GMT)
commit31fb2d13de02c9e7139abdb5f346a3f0b9f472e3 (patch)
treef69f121fec149f31c55d44dd9825d8316b836e97
parent705815370505ad3a8d81e918a0a15cfa24a5f0c1 (diff)
downloadhdf5-31fb2d13de02c9e7139abdb5f346a3f0b9f472e3.zip
hdf5-31fb2d13de02c9e7139abdb5f346a3f0b9f472e3.tar.gz
hdf5-31fb2d13de02c9e7139abdb5f346a3f0b9f472e3.tar.bz2
[svn-r10636] Purpose:
Code cleanup Description: Rearrange struct members to fit better on 64-bit machines. Platforms tested: FreeBSD 4.11 (sleipnir) Solaris 2.9 (shanti)
-rw-r--r--src/H5Epublic.h2
-rw-r--r--src/H5Gprivate.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Epublic.h b/src/H5Epublic.h
index 1671967..dd71563 100644
--- a/src/H5Epublic.h
+++ b/src/H5Epublic.h
@@ -42,9 +42,9 @@ typedef struct H5E_error_t {
hid_t cls_id; /*class ID */
hid_t maj_num; /*major error ID */
hid_t min_num; /*minor error number */
+ unsigned line; /*line in file where error occurs */
const char *func_name; /*function in which error occurred */
const char *file_name; /*file in which error occurred */
- unsigned line; /*line in file where error occurs */
const char *desc; /*optional supplied description */
} H5E_error_t;
diff --git a/src/H5Gprivate.h b/src/H5Gprivate.h
index 53bbae9..61ddee4 100644
--- a/src/H5Gprivate.h
+++ b/src/H5Gprivate.h
@@ -103,10 +103,10 @@ typedef union H5G_cache_t {
*/
typedef struct H5G_entry_t {
hbool_t dirty; /*entry out-of-date? */
- size_t name_off; /*offset of name within name heap */
- haddr_t header; /*file address of object header */
H5G_type_t type; /*type of information cached */
H5G_cache_t cache; /*cached data from object header */
+ size_t name_off; /*offset of name within name heap */
+ haddr_t header; /*file address of object header */
H5F_t *file; /*file to which this obj hdr belongs */
H5RS_str_t *user_path_r; /* Path to object, as opened by user */
H5RS_str_t *canon_path_r; /* Path to object, as found in file */