mirror of
git://git.code.sf.net/p/openocd/code
synced 2025-07-24 08:30:58 +10:00
nor/str7x: review scope of symbols
Add "static" qualifier to private function. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
parent
bc7fa896e6
commit
9b5572857a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user