forked from auracaster/openocd
target: declare local symbols as static
Functions and variables that are not used outside the file should be declared as static. Change-Id: I9f97571a528f0cb3c3c26f873577ab16fdec3cdc Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5895 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
@@ -723,7 +723,7 @@ static int arm926ejs_target_create(struct target *target, Jim_Interp *interp)
|
||||
return arm926ejs_init_arch_info(target, arm926ejs, target->tap);
|
||||
}
|
||||
|
||||
void arm926ejs_deinit_target(struct target *target)
|
||||
static void arm926ejs_deinit_target(struct target *target)
|
||||
{
|
||||
struct arm *arm = target_to_arm(target);
|
||||
struct arm926ejs_common *arm926ejs = target_to_arm926(target);
|
||||
|
||||
Reference in New Issue
Block a user