diff options
-rw-r--r-- | linux-user/mmap.c | 2 | ||||
-rw-r--r-- | slirp/slirp.c | 2 | ||||
-rw-r--r-- | target-i386/ops_sse.h | 2 |
3 files changed, 3 insertions, 3 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) diff --git a/slirp/slirp.c b/slirp/slirp.c index 691420e801..d4a9bacf17 100644 --- a/slirp/slirp.c +++ b/slirp/slirp.c @@ -104,7 +104,7 @@ static void winsock_cleanup(void) #else -struct stat dns_addr_stat; +static struct stat dns_addr_stat; int get_dns_addr(struct in_addr *pdns_addr) { diff --git a/target-i386/ops_sse.h b/target-i386/ops_sse.h index 47a01d40f9..709732a4a7 100644 --- a/target-i386/ops_sse.h +++ b/target-i386/ops_sse.h @@ -895,7 +895,7 @@ SSE_HELPER_CMP(cmpnlt, FPU_CMPNLT) SSE_HELPER_CMP(cmpnle, FPU_CMPNLE) SSE_HELPER_CMP(cmpord, FPU_CMPORD) -const int comis_eflags[4] = {CC_C, CC_Z, 0, CC_Z | CC_P | CC_C}; +static const int comis_eflags[4] = {CC_C, CC_Z, 0, CC_Z | CC_P | CC_C}; void helper_ucomiss(Reg *d, Reg *s) { |