JTAG/COMMANDS: review scope of functions

Add "static" qualifier to private functions.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
Antonio Borneo 2010-04-10 22:01:16 +08:00
parent fdb9199001
commit 787a5067fb
2 changed files with 1 additions and 2 deletions

View File

@ -121,7 +121,7 @@ void* cmd_queue_alloc(size_t size)
return t + offset; return t + offset;
} }
void cmd_queue_free(void) static void cmd_queue_free(void)
{ {
struct cmd_queue_page *page = cmd_queue_pages; struct cmd_queue_page *page = cmd_queue_pages;

View File

@ -158,7 +158,6 @@ struct jtag_command {
extern struct jtag_command* jtag_command_queue; extern struct jtag_command* jtag_command_queue;
void* cmd_queue_alloc(size_t size); void* cmd_queue_alloc(size_t size);
void cmd_queue_free(void);
void jtag_queue_command(struct jtag_command *cmd); void jtag_queue_command(struct jtag_command *cmd);
void jtag_command_queue_reset(void); void jtag_command_queue_reset(void);