summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/jtag/commands.c2
-rw-r--r--src/jtag/commands.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/jtag/commands.c b/src/jtag/commands.c
index 6951f031..d236fe99 100644
--- a/src/jtag/commands.c
+++ b/src/jtag/commands.c
@@ -121,7 +121,7 @@ void* cmd_queue_alloc(size_t size)
return t + offset;
}
-void cmd_queue_free(void)
+static void cmd_queue_free(void)
{
struct cmd_queue_page *page = cmd_queue_pages;
diff --git a/src/jtag/commands.h b/src/jtag/commands.h
index 692eee43..87bd9c53 100644
--- a/src/jtag/commands.h
+++ b/src/jtag/commands.h
@@ -158,7 +158,6 @@ struct jtag_command {
extern struct jtag_command* jtag_command_queue;
void* cmd_queue_alloc(size_t size);
-void cmd_queue_free(void);
void jtag_queue_command(struct jtag_command *cmd);
void jtag_command_queue_reset(void);