diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2010-06-20 17:44:24 +0800 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2010-06-21 22:14:23 +0800 |
commit | 9b5572857a3e42e0984b0daa3c478561337a0451 (patch) | |
tree | cc3e5c788c48c4a3d4619a142fd70518343763d8 /src/flash | |
parent | bc7fa896e69d5a325776da4e5b423940cb1124dd (diff) | |
download | openocd_libswd-9b5572857a3e42e0984b0daa3c478561337a0451.tar.gz openocd_libswd-9b5572857a3e42e0984b0daa3c478561337a0451.tar.bz2 openocd_libswd-9b5572857a3e42e0984b0daa3c478561337a0451.tar.xz openocd_libswd-9b5572857a3e42e0984b0daa3c478561337a0451.zip |
nor/str7x: review scope of symbols
Add "static" qualifier to private function.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/nor/str7x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nor/str7x.c b/src/flash/nor/str7x.c index 4c450afa..069e90c2 100644 --- a/src/flash/nor/str7x.c +++ b/src/flash/nor/str7x.c @@ -394,7 +394,7 @@ static int str7x_protect(struct flash_bank *bank, int set, int first, int last) return ERROR_OK; } -int str7x_write_block(struct flash_bank *bank, uint8_t *buffer, +static int str7x_write_block(struct flash_bank *bank, uint8_t *buffer, uint32_t offset, uint32_t count) { struct str7x_flash_bank *str7x_info = bank->driver_priv; |