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/sh_serial.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/sh_serial.c')
-rw-r--r-- | hw/sh_serial.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/sh_serial.c b/hw/sh_serial.c index 1336780d16..324c2a8fb9 100644 --- a/hw/sh_serial.c +++ b/hw/sh_serial.c @@ -252,14 +252,14 @@ static void sh_serial_event(void *opaque, int event) sh_serial_receive_break(s); } -uint32_t sh_serial_read (void *opaque, target_phys_addr_t addr) +static uint32_t sh_serial_read (void *opaque, target_phys_addr_t addr) { sh_serial_state *s = opaque; return sh_serial_ioport_read(s, addr - s->base); } -void sh_serial_write (void *opaque, - target_phys_addr_t addr, uint32_t value) +static void sh_serial_write (void *opaque, + target_phys_addr_t addr, uint32_t value) { sh_serial_state *s = opaque; sh_serial_ioport_write(s, addr - s->base, value); |