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

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

index 88072b917dd11e695619e14ceb0fabf67e897d05..57c591d5360de63289deafecad24ac771efc43ae 100644 (file)
@@ -343,7 +343,7 @@ static int aduc702x_write_single(struct flash_bank *bank, uint8_t *buffer, uint3
        return ERROR_OK;
 }
 
-int aduc702x_write(struct flash_bank *bank, uint8_t *buffer, uint32_t offset, uint32_t count)
+static int aduc702x_write(struct flash_bank *bank, uint8_t *buffer, uint32_t offset, uint32_t count)
 {
        int retval;