aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-09-05 10:14:07 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-09-05 10:14:07 +0000
commit1e6eec8b33814aa09c988232f65d8ce6407d3312 (patch)
treeb2b45910335440ee95f3ff8e870beeb7efa34cb1 /linux-user
parentf2818f22016b072388363dd56c0c8cd5dfb936bb (diff)
Fix Sparse warnings: add "static"
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/mmap.c2
1 files changed, 1 insertions, 1 deletions
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)