diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-26 13:43:07 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-10-26 13:43:07 +0000 |
commit | b1d8e52e636fd2c137e5abb2d59b331473e0930d (patch) | |
tree | b9fe10850b589a60f5dade8cdf3407c67428127b /linux-user/main.c | |
parent | 51a0f568c5b0301fd8e44e5c28eaa8a82ea523d8 (diff) |
Fix undeclared symbol warnings from sparse
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5539 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user/main.c')
-rw-r--r-- | linux-user/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index fef4bf70d1..a5aefce3dc 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -283,7 +283,7 @@ static void write_dt(void *ptr, unsigned long addr, unsigned long limit, } #ifdef TARGET_X86_64 -uint64_t idt_table[512]; +static uint64_t idt_table[512]; static void set_gate64(void *ptr, unsigned int type, unsigned int dpl, uint64_t addr, unsigned int sel) @@ -303,7 +303,7 @@ static void set_idt(int n, unsigned int dpl) set_gate64(idt_table + n * 2, 0, dpl, 0, 0); } #else -uint64_t idt_table[256]; +static uint64_t idt_table[256]; static void set_gate(void *ptr, unsigned int type, unsigned int dpl, uint32_t addr, unsigned int sel) |