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