summaryrefslogtreecommitdiff
path: root/src/flash/nand
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-04-10 20:09:59 +0800
committerAntonio Borneo <borneo.antonio@gmail.com>2010-04-10 20:09:59 +0800
commita6307fed9100877df2def268acece81078e06d6f (patch)
treec1a1ff6f65150e5ddca594e0cdeb2b5973ea58e8 /src/flash/nand
parent617811ac664504303cf65a69c1b3f8ca262def0b (diff)
downloadopenocd+libswd-a6307fed9100877df2def268acece81078e06d6f.tar.gz
openocd+libswd-a6307fed9100877df2def268acece81078e06d6f.tar.bz2
openocd+libswd-a6307fed9100877df2def268acece81078e06d6f.tar.xz
openocd+libswd-a6307fed9100877df2def268acece81078e06d6f.zip
NAND/ARM_IO: review scope of functions
Add "static" qualifier to private functions. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src/flash/nand')
-rw-r--r--src/flash/nand/arm_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/nand/arm_io.c b/src/flash/nand/arm_io.c
index 0cd39c00..7c7148e6 100644
--- a/src/flash/nand/arm_io.c
+++ b/src/flash/nand/arm_io.c
@@ -43,7 +43,7 @@
* @param area Pointer to a pointer to a working area to copy code to
* @return Success or failure of the operation
*/
-int arm_code_to_working_area(struct target *target,
+static int arm_code_to_working_area(struct target *target,
const uint32_t *code, unsigned code_size,
unsigned additional, struct working_area **area)
{