diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2010-06-20 17:38:19 +0800 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2010-06-21 22:14:19 +0800 |
commit | 190986eb8c6967cebafe0b415733c72305489f76 (patch) | |
tree | 2a6c177410645cc6479b2e5bb0f7ab920c75f8a9 /src/flash/nor | |
parent | ff1c09fbeabc568c7cd6e29b4681e15e5d0d184c (diff) | |
download | openocd_libswd-190986eb8c6967cebafe0b415733c72305489f76.tar.gz openocd_libswd-190986eb8c6967cebafe0b415733c72305489f76.tar.bz2 openocd_libswd-190986eb8c6967cebafe0b415733c72305489f76.tar.xz openocd_libswd-190986eb8c6967cebafe0b415733c72305489f76.zip |
nor/virtual: review scope of symbols
Add "static" qualifier to private functions.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash/nor')
-rw-r--r-- | src/flash/nor/virtual.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/nor/virtual.c b/src/flash/nor/virtual.c index eb1885eb..e91dfc78 100644 --- a/src/flash/nor/virtual.c +++ b/src/flash/nor/virtual.c @@ -195,7 +195,7 @@ static int virtual_info(struct flash_bank *bank, char *buf, int buf_size) return ERROR_OK; } -int virtual_blank_check(struct flash_bank *bank) +static int virtual_blank_check(struct flash_bank *bank) { struct flash_bank *master_bank = virtual_get_master_bank(bank); int retval; @@ -211,7 +211,7 @@ int virtual_blank_check(struct flash_bank *bank) return ERROR_OK; } -int virtual_flash_read(struct flash_bank *bank, +static int virtual_flash_read(struct flash_bank *bank, uint8_t *buffer, uint32_t offset, uint32_t count) { struct flash_bank *master_bank = virtual_get_master_bank(bank); |