From: Antonio Borneo Date: Sat, 10 Apr 2010 12:03:19 +0000 (+0800) Subject: NAND/MX3: review scope of data X-Git-Tag: v0.5.0-rc1~767 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=aaf848596c13f26026bcbd1071f7614e818ea766;p=openocd NAND/MX3: review scope of data Add "static" qualifier to private data. Signed-off-by: Antonio Borneo --- 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);