MFLASH: 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 20:11:40 +08:00
parent a6307fed91
commit 5926b5a94f
2 changed files with 1 additions and 2 deletions

View File

@@ -1302,7 +1302,7 @@ static const struct command_registration mflash_exec_command_handlers[] = {
COMMAND_REGISTRATION_DONE
};
int mflash_init_drivers(struct command_context *cmd_ctx)
static int mflash_init_drivers(struct command_context *cmd_ctx)
{
if (!mflash_bank)
return ERROR_OK;