From 1e6eec8b33814aa09c988232f65d8ce6407d3312 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sat, 5 Sep 2009 10:14:07 +0000 Subject: Fix Sparse warnings: add "static" Signed-off-by: Blue Swirl --- linux-user/mmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux-user/mmap.c') diff --git a/linux-user/mmap.c b/linux-user/mmap.c index 6ce41677af..07ce051576 100644 --- a/linux-user/mmap.c +++ b/linux-user/mmap.c @@ -34,7 +34,7 @@ //#define DEBUG_MMAP #if defined(CONFIG_USE_NPTL) -pthread_mutex_t mmap_mutex = PTHREAD_MUTEX_INITIALIZER; +static pthread_mutex_t mmap_mutex = PTHREAD_MUTEX_INITIALIZER; static int __thread mmap_lock_count; void mmap_lock(void) -- cgit v1.2.3