projects
/
openocd-genbsdl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc7fa89
)
nor/str7x: review scope of symbols
author
Antonio Borneo
<borneo.antonio@gmail.com>
Sun, 20 Jun 2010 09:44:24 +0000
(17:44 +0800)
committer
Antonio Borneo
<borneo.antonio@gmail.com>
Mon, 21 Jun 2010 14:14:23 +0000
(22:14 +0800)
Add "static" qualifier to private function.
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
src/flash/nor/str7x.c
patch
|
blob
|
history
diff --git
a/src/flash/nor/str7x.c
b/src/flash/nor/str7x.c
index
4c450af
..
069e90c
100644
(file)
--- 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;