diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-07-03 17:00:01 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-07-03 17:00:01 (GMT) |
commit | 153444fed7bd9dfb2b7d90a47c79d11bd1188e96 (patch) | |
tree | ec623ec5a7ebeca40c7195d2f698c9f6a95192da /src/H5Cprivate.h | |
parent | 3a6668b2f948d266bf7c99d641c331ff09021ceb (diff) | |
download | hdf5-153444fed7bd9dfb2b7d90a47c79d11bd1188e96.zip hdf5-153444fed7bd9dfb2b7d90a47c79d11bd1188e96.tar.gz hdf5-153444fed7bd9dfb2b7d90a47c79d11bd1188e96.tar.bz2 |
[svn-r8800] Purpose:
Code cleanup
Description:
Fix problems when compiling with C++ compiler.
Also clean up some warnings with gcc 3.4.x
Platforms tested:
FreeBSD 4.10 (sleipnir)
Too minor to require h5committest
Diffstat (limited to 'src/H5Cprivate.h')
-rw-r--r-- | src/H5Cprivate.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Cprivate.h b/src/H5Cprivate.h index 2a0d3db..98bf009 100644 --- a/src/H5Cprivate.h +++ b/src/H5Cprivate.h @@ -172,7 +172,7 @@ typedef herr_t (*H5C_write_permitted_func_t)(H5F_t *f, * The name is not particularly descriptive, but is retained * to avoid changes in existing code. * - * dirty: Boolean flag indicating whether the contents of the cache + * is_dirty: Boolean flag indicating whether the contents of the cache * entry has been modified since the last time it was written * to disk. * @@ -186,7 +186,7 @@ typedef herr_t (*H5C_write_permitted_func_t)(H5F_t *f, * someday. However it will require a change in the * cache interface. * - * protected: Boolean flag indicating whether this entry is protected + * is_protected: Boolean flag indicating whether this entry is protected * (or locked, to use more conventional terms). When it is * protected, the entry cannot be flushed or accessed until * it is unprotected (or unlocked -- again to use more @@ -279,8 +279,8 @@ typedef struct H5C_cache_entry_t haddr_t addr; size_t size; const H5C_class_t * type; - hbool_t dirty; - hbool_t protected; + hbool_t is_dirty; + hbool_t is_protected; /* fields supporting replacement policies: */ @@ -312,7 +312,7 @@ typedef struct H5C_t H5C_t; H5_DLL H5C_t * H5C_create(size_t max_cache_size, size_t min_clean_size, int max_type_id, - const char * (* type_name_table_ptr)[], + const char * (* type_name_table_ptr), H5C_write_permitted_func_t check_write_permitted); H5_DLL herr_t H5C_dest(H5F_t * f, |