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); | |||
342 | const char* buflib_get_name(struct buflib_context *ctx, int handle); | 342 | const char* buflib_get_name(struct buflib_context *ctx, int handle); |
343 | 343 | ||
344 | /** | 344 | /** |
345 | * Prints an overview of all current allocations with the help | ||
346 | * of the passed printer helper | ||
347 | * | ||
348 | * This walks only the handle table and prints only valid allocations | ||
349 | * | ||
350 | * Only available if BUFLIB_DEBUG_BLOCKS is defined | ||
351 | */ | ||
352 | void buflib_print_allocs(struct buflib_context *ctx, void (*print)(int, const char*)); | ||
353 | |||
354 | /** | ||
355 | * Prints an overview of all blocks in the buflib buffer, allocated | ||
356 | * or unallocated, with the help of the passed printer helper | ||
357 | * | ||
358 | * This walks the entire buffer and prints unallocated space also. | ||
359 | * The output is also different from buflib_print_allocs(). | ||
360 | * | ||
361 | * Only available if BUFLIB_DEBUG_BLOCKS is defined | ||
362 | */ | ||
363 | void buflib_print_blocks(struct buflib_context *ctx, void (*print)(int, const char*)); | ||
364 | |||
365 | /** | ||
366 | * Gets the number of blocks in the entire buffer, allocated or unallocated | 345 | * Gets the number of blocks in the entire buffer, allocated or unallocated |
367 | * | 346 | * |
368 | * Only available if BUFLIB_DEBUG_BLOCK_SIGNLE is defined | 347 | * Only available if BUFLIB_DEBUG_BLOCK_SIGNLE is defined |