ARMv7M: review scope of functions
authorAntonio Borneo <borneo.antonio@gmail.com>
Fri, 9 Apr 2010 16:07:40 +0000 (00:07 +0800)
committerAntonio Borneo <borneo.antonio@gmail.com>
Fri, 9 Apr 2010 16:07:40 +0000 (00:07 +0800)
Add "static" qualifier to private functions.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
src/target/armv7m.c

index f0829c6..83335a5 100644 (file)
@@ -527,7 +527,7 @@ struct reg_cache *armv7m_build_reg_cache(struct target *target)
        return cache;
 }
 
-int armv7m_setup_semihosting(struct target *target, int enable)
+static int armv7m_setup_semihosting(struct target *target, int enable)
 {
        /* nothing todo for armv7m */
        return ERROR_OK;