aboutsummaryrefslogtreecommitdiff
path: root/src/flash/mflash.c
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-04-10 20:11:40 +0800
committerAntonio Borneo <borneo.antonio@gmail.com>2010-04-10 20:11:40 +0800
commit5926b5a94fd4e29e0e020c2f87b542fd51bd5d6f (patch)
tree5eae1dc36eedc2e13b0e1c44fd0e16daa72b26f3 /src/flash/mflash.c
parenta6307fed9100877df2def268acece81078e06d6f (diff)
downloadriscv-openocd-5926b5a94fd4e29e0e020c2f87b542fd51bd5d6f.zip
riscv-openocd-5926b5a94fd4e29e0e020c2f87b542fd51bd5d6f.tar.gz
riscv-openocd-5926b5a94fd4e29e0e020c2f87b542fd51bd5d6f.tar.bz2
MFLASH: review scope of functions
Add "static" qualifier to private functions. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash/mflash.c')
-rw-r--r--src/flash/mflash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/mflash.c b/src/flash/mflash.c
index 289fe5e..d307858 100644
--- a/src/flash/mflash.c
+++ b/src/flash/mflash.c
@@ -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;