summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-04-10 22:01:16 +0800
committerAntonio Borneo <borneo.antonio@gmail.com>2010-04-10 22:01:16 +0800
commit787a5067fbe0eaf05ad2f41a64c3eac776905724 (patch)
tree0e4c319116c9c7049bb010b197ed3a1475011051 /src
parentfdb9199001080e2d268da77f97365ab7b7f138d2 (diff)
downloadopenocd_libswd-787a5067fbe0eaf05ad2f41a64c3eac776905724.tar.gz
openocd_libswd-787a5067fbe0eaf05ad2f41a64c3eac776905724.tar.bz2
openocd_libswd-787a5067fbe0eaf05ad2f41a64c3eac776905724.tar.xz
openocd_libswd-787a5067fbe0eaf05ad2f41a64c3eac776905724.zip
JTAG/COMMANDS: review scope of functions
Add "static" qualifier to private functions. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src')
-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);