mirror of
git://git.code.sf.net/p/openocd/code
synced 2025-07-25 11:06:14 +10:00
NOR/CORE: review scope of data
Add "static" qualifier to private data. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
parent
402d3292bb
commit
300f0f53c5
@ -36,7 +36,7 @@
|
|||||||
* primarily support access from Tcl scripts or from GDB.
|
* primarily support access from Tcl scripts or from GDB.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
struct flash_bank *flash_banks;
|
static struct flash_bank *flash_banks;
|
||||||
|
|
||||||
int flash_driver_erase(struct flash_bank *bank, int first, int last)
|
int flash_driver_erase(struct flash_bank *bank, int first, int last)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user