diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-18 01:44:38 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-18 01:44:38 +0000 |
commit | 9596ebb7012a19a45ca036a200acd617a93a321b (patch) | |
tree | df011db5945e48dc0c86c04daf2c2072f43f2867 /hw/parallel.c | |
parent | 4c1b1bfe30dab7bc08e3ff8f179f8e11be9d7f04 (diff) |
Add statics and missing #includes for prototypes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3683 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/parallel.c')
-rw-r--r-- | hw/parallel.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/hw/parallel.c b/hw/parallel.c index dfcd5c2c30..5d99e7655b 100644 --- a/hw/parallel.c +++ b/hw/parallel.c @@ -458,45 +458,45 @@ ParallelState *parallel_init(int base, qemu_irq irq, CharDriverState *chr) } /* Memory mapped interface */ -uint32_t parallel_mm_readb (void *opaque, target_phys_addr_t addr) +static uint32_t parallel_mm_readb (void *opaque, target_phys_addr_t addr) { ParallelState *s = opaque; return parallel_ioport_read_sw(s, (addr - s->base) >> s->it_shift) & 0xFF; } -void parallel_mm_writeb (void *opaque, - target_phys_addr_t addr, uint32_t value) +static void parallel_mm_writeb (void *opaque, + target_phys_addr_t addr, uint32_t value) { ParallelState *s = opaque; parallel_ioport_write_sw(s, (addr - s->base) >> s->it_shift, value & 0xFF); } -uint32_t parallel_mm_readw (void *opaque, target_phys_addr_t addr) +static uint32_t parallel_mm_readw (void *opaque, target_phys_addr_t addr) { ParallelState *s = opaque; return parallel_ioport_read_sw(s, (addr - s->base) >> s->it_shift) & 0xFFFF; } -void parallel_mm_writew (void *opaque, - target_phys_addr_t addr, uint32_t value) +static void parallel_mm_writew (void *opaque, + target_phys_addr_t addr, uint32_t value) { ParallelState *s = opaque; parallel_ioport_write_sw(s, (addr - s->base) >> s->it_shift, value & 0xFFFF); } -uint32_t parallel_mm_readl (void *opaque, target_phys_addr_t addr) +static uint32_t parallel_mm_readl (void *opaque, target_phys_addr_t addr) { ParallelState *s = opaque; return parallel_ioport_read_sw(s, (addr - s->base) >> s->it_shift); } -void parallel_mm_writel (void *opaque, - target_phys_addr_t addr, uint32_t value) +static void parallel_mm_writel (void *opaque, + target_phys_addr_t addr, uint32_t value) { ParallelState *s = opaque; |