From: Antonio Borneo Date: Fri, 9 Apr 2010 16:07:40 +0000 (+0800) Subject: ARMv7M: review scope of functions X-Git-Tag: v0.5.0-rc1~786 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=81fab96c0d0da02e8debc07079d5f6fe699dff45 ARMv7M: review scope of functions Add "static" qualifier to private functions. Signed-off-by: Antonio Borneo --- diff --git a/src/target/armv7m.c b/src/target/armv7m.c index f0829c6177..83335a584c 100644 --- a/src/target/armv7m.c +++ b/src/target/armv7m.c @@ -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;