diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2010-04-10 19:28:13 +0800 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2010-04-10 19:28:13 +0800 |
commit | 0c82bea44acf491164c96efd88c1a831fbf6ce67 (patch) | |
tree | 61aab9bd5347182d3be09d628a8863e1fefe06bf /src/flash/nor/tcl.c | |
parent | c0b5ca6d17273aff849bc6546c7388562b751225 (diff) |
TCL: review scope of functions
Add "static" qualifier to private functions.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash/nor/tcl.c')
-rw-r--r-- | src/flash/nor/tcl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/tcl.c b/src/flash/nor/tcl.c index fc7169f0..aed55c05 100644 --- a/src/flash/nor/tcl.c +++ b/src/flash/nor/tcl.c @@ -774,7 +774,7 @@ static const struct command_registration flash_exec_command_handlers[] = { COMMAND_REGISTRATION_DONE }; -int flash_init_drivers(struct command_context *cmd_ctx) +static int flash_init_drivers(struct command_context *cmd_ctx) { if (!flash_bank_list()) return ERROR_OK; |