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

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

index 5b40ad73d80a78541e98360f898b3a34f584b747..15b8b2794567830e700caeaca57a05db6bf7e749 100644 (file)
@@ -50,7 +50,7 @@
 #define AVR_JTAG_REG_ProgrammingCommand_Len                    15
 #define AVR_JTAG_REG_FlashDataByte_Len                         16
 
-struct avrf_type avft_chips_info[] =
+static struct avrf_type avft_chips_info[] =
 {
 /*     name, chip_id,  flash_page_size, flash_page_num,
  *                     eeprom_page_size, eeprom_page_num