Browse Source

JTAG/COMMANDS: review scope of functions

Add "static" qualifier to private functions.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
tags/v0.5.0-rc1
Antonio Borneo 14 years ago
parent
commit
787a5067fb
2 changed files with 1 additions and 2 deletions
  1. +1
    -1
      src/jtag/commands.c
  2. +0
    -1
      src/jtag/commands.h

+ 1
- 1
src/jtag/commands.c View File

@@ -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;



+ 0
- 1
src/jtag/commands.h View File

@@ -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);


Loading…
Cancel
Save