diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-09-05 10:14:07 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-09-05 10:14:07 +0000 |
commit | 1e6eec8b33814aa09c988232f65d8ce6407d3312 (patch) | |
tree | b2b45910335440ee95f3ff8e870beeb7efa34cb1 /linux-user | |
parent | esp: handle "select without attention" (diff) | |
download | qemu-kvm-1e6eec8b33814aa09c988232f65d8ce6407d3312.tar.gz qemu-kvm-1e6eec8b33814aa09c988232f65d8ce6407d3312.tar.bz2 qemu-kvm-1e6eec8b33814aa09c988232f65d8ce6407d3312.zip |
Fix Sparse warnings: add "static"
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/mmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/mmap.c b/linux-user/mmap.c index 6ce41677a..07ce05157 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) |