From: Antonio Borneo Date: Sat, 10 Apr 2010 11:58:15 +0000 (+0800) Subject: NOR/ADUC702X: review scope of data X-Git-Tag: v0.5.0-rc1~768 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9acd453d9f1d7d9ef90343f84ffc43ce6e1b434d;p=openocd NOR/ADUC702X: review scope of data Add "static" qualifier to private data. Signed-off-by: Antonio Borneo --- diff --git a/src/flash/nor/aduc702x.c b/src/flash/nor/aduc702x.c index 88072b91..57c591d5 100644 --- a/src/flash/nor/aduc702x.c +++ b/src/flash/nor/aduc702x.c @@ -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;