diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-05-02 03:17:49 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-05-02 03:17:49 (GMT) |
commit | c6e532afb936a4a7cd8d2cb97029e55cd5b9e435 (patch) | |
tree | 8956e938a9157070d75e2f29f8f5ce8602b60ac3 /src/H5FL.c | |
parent | 714d90171466c84dfafad771b0b26a87a4b4ebff (diff) | |
download | hdf5-c6e532afb936a4a7cd8d2cb97029e55cd5b9e435.zip hdf5-c6e532afb936a4a7cd8d2cb97029e55cd5b9e435.tar.gz hdf5-c6e532afb936a4a7cd8d2cb97029e55cd5b9e435.tar.bz2 |
[svn-r12320] Purpose:
code cleanup
Description:
Finish H5FS->H5CS internal API name changes...
Platforms tested:
FreeBSD 4.11 (sleipnir) w/ & w/o --enable-codestack
Diffstat (limited to 'src/H5FL.c')
-rw-r--r-- | src/H5FL.c | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -265,7 +265,7 @@ H5FL_reg_free(H5FL_reg_head_t *head, void *obj) H5FL_track_t *trk = obj = ((unsigned char *)obj) - sizeof(H5FL_track_t); /* Free tracking information about the allocation location */ - H5FS_close_stack(trk->stack); + H5CS_close_stack(trk->stack); trk->stack = H5MM_xfree(trk->stack); trk->file = H5MM_xfree(trk->file); trk->func = H5MM_xfree(trk->func); @@ -376,8 +376,8 @@ H5FL_reg_malloc(H5FL_reg_head_t *head H5FL_TRACK_PARAMS) #ifdef H5FL_TRACK /* Copy allocation location information */ - ((H5FL_track_t *)ret_value)->stack = H5MM_malloc(sizeof(H5FS_t)); - H5FS_copy_stack(((H5FL_track_t *)ret_value)->stack); + ((H5FL_track_t *)ret_value)->stack = H5MM_malloc(sizeof(H5CS_t)); + H5CS_copy_stack(((H5FL_track_t *)ret_value)->stack); ((H5FL_track_t *)ret_value)->file = H5MM_strdup(call_file); ((H5FL_track_t *)ret_value)->func = H5MM_strdup(call_func); ((H5FL_track_t *)ret_value)->line = call_line; @@ -874,8 +874,8 @@ H5FL_blk_malloc(H5FL_blk_head_t *head, size_t size H5FL_TRACK_PARAMS) #ifdef H5FL_TRACK /* Copy allocation location information */ - ((H5FL_track_t *)ret_value)->stack = H5MM_malloc(sizeof(H5FS_t)); - H5FS_copy_stack(((H5FL_track_t *)ret_value)->stack); + ((H5FL_track_t *)ret_value)->stack = H5MM_malloc(sizeof(H5CS_t)); + H5CS_copy_stack(((H5FL_track_t *)ret_value)->stack); ((H5FL_track_t *)ret_value)->file = H5MM_strdup(call_file); ((H5FL_track_t *)ret_value)->func = H5MM_strdup(call_func); ((H5FL_track_t *)ret_value)->line = call_line; @@ -975,7 +975,7 @@ H5FL_blk_free(H5FL_blk_head_t *head, void *block) H5FL_track_t *trk = block = ((unsigned char *)block) - sizeof(H5FL_track_t); /* Free tracking information about the allocation location */ - H5FS_close_stack(trk->stack); + H5CS_close_stack(trk->stack); trk->stack = H5MM_xfree(trk->stack); trk->file = H5MM_xfree(trk->file); trk->func = H5MM_xfree(trk->func); @@ -1091,12 +1091,12 @@ H5FL_blk_realloc(H5FL_blk_head_t *head, void *block, size_t new_size H5FL_TRACK_ H5FL_track_t *trk = (H5FL_track_t *)(((unsigned char *)block) - sizeof(H5FL_track_t)); /* Release previous tracking information */ - H5FS_close_stack(trk->stack); + H5CS_close_stack(trk->stack); trk->file = H5MM_xfree(trk->file); trk->func = H5MM_xfree(trk->func); /* Store new tracking information */ - H5FS_copy_stack(trk->stack); + H5CS_copy_stack(trk->stack); trk->file = H5MM_strdup(call_file); trk->func = H5MM_strdup(call_func); trk->line = call_line; @@ -2271,7 +2271,7 @@ H5FL_term_interface(void) /* Print information about the outstanding block */ HDfprintf(stderr,"%s: Outstanding allocation:\n", "H5FL_term_interface"); HDfprintf(stderr,"\tFile: %s, Function: %s, Line: %d\n", trk->file, trk->func, trk->line); - H5FS_print_stack(trk->stack, stderr); + H5CS_print_stack(trk->stack, stderr); /* Advance to next node */ trk = trk->next; |