]> git.sur5r.net Git - openocd/commitdiff
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 f0829c61770e62752d4a59b677ca5533f6f65d13..83335a584c59f3da638cd560f1c407b19a93927d 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;