From 31fb2d13de02c9e7139abdb5f346a3f0b9f472e3 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Thu, 21 Apr 2005 01:48:24 -0500 Subject: [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) --- src/H5Epublic.h | 2 +- src/H5Gprivate.h | 4 ++-- 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 */ -- cgit v0.12