diff options
Diffstat (limited to 'src/H5Gent.c')
-rw-r--r-- | src/H5Gent.c | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/H5Gent.c b/src/H5Gent.c index ad6a083..412a2f6 100644 --- a/src/H5Gent.c +++ b/src/H5Gent.c @@ -31,12 +31,8 @@ #include "H5MMprivate.h" /* Memory Management */ /* Private macros */ -#define H5G_NO_CHANGE (-1) /*see H5G_ent_modified() */ /* Private prototypes */ -#ifdef NOT_YET -static herr_t H5G_ent_modified(H5G_entry_t *ent, H5G_type_t cache_type); -#endif /* NOT_YET */ static herr_t H5G_ent_encode(H5F_t *f, uint8_t **pp, const H5G_entry_t *ent); static herr_t H5G_ent_decode(H5F_t *f, const uint8_t **pp, H5G_entry_t *ent/*out*/); @@ -46,40 +42,6 @@ H5FL_BLK_EXTERN(str_buf); /*------------------------------------------------------------------------- - * Function: H5G_ent_modified - * - * Purpose: This function should be called after you make any - * modifications to a symbol table entry cache. Supply the new - * type for the cache. If CACHE_TYPE is the constant - * H5G_NO_CHANGE then the cache type isn't changed--just the - * dirty bit is set. - * - * Return: Non-negative on success/Negative on failure - * - * Programmer: Robb Matzke - * Friday, September 19, 1997 - * - * Modifications: - * - *------------------------------------------------------------------------- - */ -herr_t -H5G_ent_modified(H5G_entry_t *ent, H5G_type_t cache_type) -{ - FUNC_ENTER_NOAPI_NOFUNC(H5G_ent_modified) - - HDassert(ent); - - /* Update cache type, if requested */ - if (H5G_NO_CHANGE != cache_type) - ent->type = cache_type; - ent->dirty = TRUE; - - FUNC_LEAVE_NOAPI(SUCCEED) -} /* end H5G_ent_modified */ - - -/*------------------------------------------------------------------------- * Function: H5G_ent_decode_vec * * Purpose: Same as H5G_ent_decode() except it does it for an array of |