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:
parent
fdb9199001
commit
787a5067fb
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue