提交 1e6eec8b 编写于 作者: B Blue Swirl

Fix Sparse warnings: add "static"

Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 f2818f22
......@@ -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)
......
......@@ -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)
{
......
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册