From: Antonio Borneo Date: Sat, 10 Apr 2010 11:54:22 +0000 (+0800) Subject: NOR/CORE: review scope of data X-Git-Tag: v0.5.0-rc1~770 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=300f0f53c54fab5dd994a8bc42edbdc6115ef7b9;p=openocd NOR/CORE: review scope of data Add "static" qualifier to private data. Signed-off-by: Antonio Borneo --- diff --git a/src/flash/nor/core.c b/src/flash/nor/core.c index 8b581b0c..18012c65 100644 --- a/src/flash/nor/core.c +++ b/src/flash/nor/core.c @@ -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) {