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/mmap.c | |
parent | f2818f22016b072388363dd56c0c8cd5dfb936bb (diff) |
Fix Sparse warnings: add "static"
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'linux-user/mmap.c')
-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 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) |