ARMv7M: review scope of functions

Add "static" qualifier to private functions.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
Antonio Borneo 2010-04-10 00:07:40 +08:00
parent 2a17fd9f9b
commit 81fab96c0d

View 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;