diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-03-30 18:23:59 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-09-19 15:09:51 -0400 |
commit | 6e9b1b344b7f7b04a2ae4ace0a1d191f63d03396 (patch) | |
tree | 5ac3a016544e13a6b1cf54aa4762f53a0ebaeb5e /firmware/include/buflib.h | |
parent | 3090cf0da4edde67234faaeda18de91fa91aa5ef (diff) | |
download | rockbox-6e9b1b344b7f7b04a2ae4ace0a1d191f63d03396.tar.gz rockbox-6e9b1b344b7f7b04a2ae4ace0a1d191f63d03396.zip |
buflib: remove buflib_print_allocs / buflib_print_blocks
These don't have any users and there is already another way to
print blocks (which is actually used by the debug menu).
Change-Id: Ic6a4f874c6499c42bc046e8af3e4aaddc9e68276
Diffstat (limited to 'firmware/include/buflib.h')
-rw-r--r-- | firmware/include/buflib.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/firmware/include/buflib.h b/firmware/include/buflib.h index 5bd8d73ada..a4796fbf33 100644 --- a/firmware/include/buflib.h +++ b/firmware/include/buflib.h @@ -342,27 +342,6 @@ void buflib_buffer_in(struct buflib_context *ctx, int size); const char* buflib_get_name(struct buflib_context *ctx, int handle); /** - * Prints an overview of all current allocations with the help - * of the passed printer helper - * - * This walks only the handle table and prints only valid allocations - * - * Only available if BUFLIB_DEBUG_BLOCKS is defined - */ -void buflib_print_allocs(struct buflib_context *ctx, void (*print)(int, const char*)); - -/** - * Prints an overview of all blocks in the buflib buffer, allocated - * or unallocated, with the help of the passed printer helper - * - * This walks the entire buffer and prints unallocated space also. - * The output is also different from buflib_print_allocs(). - * - * Only available if BUFLIB_DEBUG_BLOCKS is defined - */ -void buflib_print_blocks(struct buflib_context *ctx, void (*print)(int, const char*)); - -/** * Gets the number of blocks in the entire buffer, allocated or unallocated * * Only available if BUFLIB_DEBUG_BLOCK_SIGNLE is defined |