summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-04-10 20:03:19 +0800
committerAntonio Borneo <borneo.antonio@gmail.com>2010-04-10 20:03:19 +0800
commitaaf848596c13f26026bcbd1071f7614e818ea766 (patch)
tree7af0bcce53f06230e77b224f8273647d53905f9e /src
parent9acd453d9f1d7d9ef90343f84ffc43ce6e1b434d (diff)
downloadopenocd_libswd-aaf848596c13f26026bcbd1071f7614e818ea766.tar.gz
openocd_libswd-aaf848596c13f26026bcbd1071f7614e818ea766.tar.bz2
openocd_libswd-aaf848596c13f26026bcbd1071f7614e818ea766.tar.xz
openocd_libswd-aaf848596c13f26026bcbd1071f7614e818ea766.zip
NAND/MX3: review scope of data
Add "static" qualifier to private data. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/flash/nand/mx3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nand/mx3.c b/src/flash/nand/mx3.c
index 4823534c..7d9cc8b9 100644
--- a/src/flash/nand/mx3.c
+++ b/src/flash/nand/mx3.c
@@ -47,7 +47,7 @@ static const char sram_buffer_bounds_err_msg[] =
"trying to access out of SRAM buffer bound (addr=0x%" PRIx32 ")";
static const char get_status_register_err_msg[] = "can't get NAND status";
static uint32_t in_sram_address;
-unsigned char sign_of_sequental_byte_read;
+static unsigned char sign_of_sequental_byte_read;
static int test_iomux_settings (struct target * target, uint32_t value,
uint32_t mask, const char *text);