From: blueswir1 Date: Tue, 7 Oct 2008 19:12:13 +0000 (+0000) Subject: Add static (spotted by sparse) X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~13847 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=797d5db002ad4c16b957bae3192e3d819c5c792b;p=sdk%2Femulator%2Fqemu.git Add static (spotted by sparse) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5439 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/target-sparc/helper.c b/target-sparc/helper.c index 6aca8fd..f222e3a 100644 --- a/target-sparc/helper.c +++ b/target-sparc/helper.c @@ -38,7 +38,7 @@ static int cpu_sparc_find_by_name(sparc_def_t *cpu_def, const char *cpu_model); /* thread support */ -spinlock_t global_cpu_lock = SPIN_LOCK_UNLOCKED; +static spinlock_t global_cpu_lock = SPIN_LOCK_UNLOCKED; void cpu_lock(void) {