]> git.sur5r.net Git - openocd/commitdiff
NAND/ARM_IO: review scope of functions
authorAntonio Borneo <borneo.antonio@gmail.com>
Sat, 10 Apr 2010 12:09:59 +0000 (20:09 +0800)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 10 Apr 2010 12:09:59 +0000 (20:09 +0800)
Add "static" qualifier to private functions.

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

index 0cd39c00ee70c9ed5a5b3b2fb3502c3b8d93897c..7c7148e6be1ba317fb6298bc84fec77315e210c8 100644 (file)
@@ -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)
 {