Refactor overly large/complex functions.
Refactor overly large functions by breaking out helper functions. Refactor overly complex multi-purpose functions into separate more specific functions.
This commit is contained in:
parent
b2c31660be
commit
aa5113b1fd
@ -158,6 +158,7 @@ struct arena_chunk_map_s {
|
|||||||
};
|
};
|
||||||
typedef rb_tree(arena_chunk_map_t) arena_avail_tree_t;
|
typedef rb_tree(arena_chunk_map_t) arena_avail_tree_t;
|
||||||
typedef rb_tree(arena_chunk_map_t) arena_run_tree_t;
|
typedef rb_tree(arena_chunk_map_t) arena_run_tree_t;
|
||||||
|
typedef ql_head(arena_chunk_map_t) arena_chunk_mapelms_t;
|
||||||
|
|
||||||
/* Arena chunk header. */
|
/* Arena chunk header. */
|
||||||
struct arena_chunk_s {
|
struct arena_chunk_s {
|
||||||
|
834
src/arena.c
834
src/arena.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user