summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2010-04-10 00:07:40 +0800
committerAntonio Borneo <borneo.antonio@gmail.com>2010-04-10 00:07:40 +0800
commit81fab96c0d0da02e8debc07079d5f6fe699dff45 (patch)
tree883229ae225835b8b4e21f3c349cbcdfd440222d /src
parent2a17fd9f9b51516a830ba4b3ae2f2284929ff266 (diff)
downloadopenocd_libswd-81fab96c0d0da02e8debc07079d5f6fe699dff45.tar.gz
openocd_libswd-81fab96c0d0da02e8debc07079d5f6fe699dff45.tar.bz2
openocd_libswd-81fab96c0d0da02e8debc07079d5f6fe699dff45.tar.xz
openocd_libswd-81fab96c0d0da02e8debc07079d5f6fe699dff45.zip
ARMv7M: review scope of functions
Add "static" qualifier to private functions. Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/target/armv7m.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/armv7m.c b/src/target/armv7m.c
index f0829c61..83335a58 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;