diff options
author | blueswir1 | 2008-09-30 20:18:27 +0200 |
---|---|---|
committer | blueswir1 | 2008-09-30 20:18:27 +0200 |
commit | 674bb26172fbe09cab18a4240e0ef58754077283 (patch) | |
tree | ce5bdb9a6142a81ec9d1e689ccc0a8efe44e132e /hw | |
parent | Silence some warnings about uninitialized variables (diff) | |
download | qemu-674bb26172fbe09cab18a4240e0ef58754077283.tar.gz qemu-674bb26172fbe09cab18a4240e0ef58754077283.tar.xz qemu-674bb26172fbe09cab18a4240e0ef58754077283.zip |
Add some missing static qualifiers
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5363 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r-- | hw/e1000.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/e1000.c b/hw/e1000.c index a8dcd1ad6c..8209f54086 100644 --- a/hw/e1000.c +++ b/hw/e1000.c @@ -783,7 +783,7 @@ e1000_mmio_readw(void *opaque, target_phys_addr_t addr) (8 * (addr & 3))) & 0xffff; } -int mac_regtosave[] = { +static int mac_regtosave[] = { CTRL, EECD, EERD, GPRC, GPTC, ICR, ICS, IMC, IMS, LEDCTL, MANC, MDIC, MPC, PBA, RCTL, RDBAH, RDBAL, RDH, RDLEN, RDT, STATUS, SWSM, TCTL, TDBAH, TDBAL, TDH, TDLEN, @@ -791,7 +791,7 @@ int mac_regtosave[] = { }; enum { MAC_NSAVE = sizeof mac_regtosave/sizeof *mac_regtosave }; -struct { +static struct { int size; int array0; } mac_regarraystosave[] = { {32, RA}, {128, MTA} }; |