summaryrefslogtreecommitdiffstats
path: root/firmware/include
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/include')
-rw-r--r--firmware/include/buflib.h21
-rw-r--r--firmware/include/core_alloc.h4
2 files changed, 0 insertions, 25 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
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);
/* DO NOT ADD wrappers for buflib_buffer_out/in. They do not call
* the move callbacks and are therefore unsafe in the core */
-#ifdef BUFLIB_DEBUG_BLOCKS
-void core_print_allocs(void (*print)(const char*));
-void core_print_blocks(void (*print)(const char*));
-#endif
#ifdef BUFLIB_DEBUG_BLOCK_SINGLE
int core_get_num_blocks(void);
void core_print_block_at(int block_num, char* buf, size_t bufsize);