From: Antonio Borneo Date: Sat, 10 Apr 2010 12:09:59 +0000 (+0800) Subject: NAND/ARM_IO: review scope of functions X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=a6307fed9100877df2def268acece81078e06d6f;p=fw%2Fopenocd 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 0cd39c00e..7c7148e6b 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) {