From 2d0e623802007a66a3af2ed3c93ef83c22586fe6 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Wed, 14 Oct 2009 00:23:53 +0200 Subject: Make local variable static kern/lock.c (lock_wait_time): Add static qualifier. --- kern/lock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kern') diff --git a/kern/lock.c b/kern/lock.c index 909aa46..0c61227 100644 --- a/kern/lock.c +++ b/kern/lock.c @@ -104,7 +104,7 @@ boolean_t simple_lock_try(simple_lock_t l) #endif /* NCPUS > 1 */ #if NCPUS > 1 -int lock_wait_time = 100; +static int lock_wait_time = 100; #else /* NCPUS > 1 */ /* @@ -112,7 +112,7 @@ int lock_wait_time = 100; * thought something magical would happen to the * want_write bit while we are executing. */ -int lock_wait_time = 0; +static int lock_wait_time = 0; #endif /* NCPUS > 1 */ #if MACH_SLOCKS && NCPUS == 1 -- cgit v1.2.3