From: Antonio Borneo Date: Sat, 10 Apr 2010 09:01:06 +0000 (+0800) Subject: ARM920T: review scope of functions X-Git-Tag: v0.5.0-rc1~778 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8ffdefcc59ee0a8d305ac5a9f28b38ad89dea7c5;p=openocd ARM920T: review scope of functions Add "static" qualifier to private functions. Signed-off-by: Antonio Borneo --- diff --git a/src/target/arm920t.c b/src/target/arm920t.c index 99f7dca9..658315b2 100644 --- a/src/target/arm920t.c +++ b/src/target/arm920t.c @@ -788,7 +788,7 @@ static int arm920t_mcr(struct target *target, int cpnum, uint32_t CRn, uint32_t CRm, uint32_t value); -int arm920t_init_arch_info(struct target *target, +static int arm920t_init_arch_info(struct target *target, struct arm920t_common *arm920t, struct jtag_tap *tap) { struct arm7_9_common *arm7_9 = &arm920t->arm7_9_common;