]> git.sur5r.net Git - openocd/commitdiff
NOR/CORE: review scope of data
authorAntonio Borneo <borneo.antonio@gmail.com>
Sat, 10 Apr 2010 11:54:22 +0000 (19:54 +0800)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 10 Apr 2010 11:54:22 +0000 (19:54 +0800)
Add "static" qualifier to private data.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
src/flash/nor/core.c

index 8b581b0c5ad752fff5080fe65e3cc81e0e7172c0..18012c650b55d0f03603e24f9094bbe6dd12b6a8 100644 (file)
@@ -36,7 +36,7 @@
  * 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)
 {