From 81fab96c0d0da02e8debc07079d5f6fe699dff45 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sat, 10 Apr 2010 00:07:40 +0800 Subject: [PATCH] ARMv7M: review scope of functions Add "static" qualifier to private functions. Signed-off-by: Antonio Borneo --- src/target/armv7m.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5