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/core_alloc.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/core_alloc.h')
-rw-r--r-- | firmware/include/core_alloc.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/firmware/include/core_alloc.h b/firmware/include/core_alloc.h index 67fe99dfdc..f535fc1f6e 100644 --- a/firmware/include/core_alloc.h +++ b/firmware/include/core_alloc.h | |||
@@ -25,10 +25,6 @@ void core_check_valid(void); | |||
25 | /* DO NOT ADD wrappers for buflib_buffer_out/in. They do not call | 25 | /* DO NOT ADD wrappers for buflib_buffer_out/in. They do not call |
26 | * the move callbacks and are therefore unsafe in the core */ | 26 | * the move callbacks and are therefore unsafe in the core */ |
27 | 27 | ||
28 | #ifdef BUFLIB_DEBUG_BLOCKS | ||
29 | void core_print_allocs(void (*print)(const char*)); | ||
30 | void core_print_blocks(void (*print)(const char*)); | ||
31 | #endif | ||
32 | #ifdef BUFLIB_DEBUG_BLOCK_SINGLE | 28 | #ifdef BUFLIB_DEBUG_BLOCK_SINGLE |
33 | int core_get_num_blocks(void); | 29 | int core_get_num_blocks(void); |
34 | void core_print_block_at(int block_num, char* buf, size_t bufsize); | 30 | void core_print_block_at(int block_num, char* buf, size_t bufsize); |