From 787a5067fbe0eaf05ad2f41a64c3eac776905724 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sat, 10 Apr 2010 22:01:16 +0800 Subject: [PATCH] JTAG/COMMANDS: review scope of functions Add "static" qualifier to private functions. Signed-off-by: Antonio Borneo --- src/jtag/commands.c | 2 +- src/jtag/commands.h | 1 - 2 files changed, 1 insertion(+), 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); -- 2.39.5