diff options
Diffstat (limited to 'hw')
-rw-r--r-- | hw/twl92230.c | 2 | ||||
-rw-r--r-- | hw/usb-serial.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/hw/twl92230.c b/hw/twl92230.c index 8fad96902d..ad49eac0d8 100644 --- a/hw/twl92230.c +++ b/hw/twl92230.c @@ -129,7 +129,7 @@ static void menelaus_rtc_hz(void *opaque) menelaus_update(s); } -void menelaus_reset(i2c_slave *i2c) +static void menelaus_reset(i2c_slave *i2c) { struct menelaus_s *s = (struct menelaus_s *) i2c; s->reg = 0x00; diff --git a/hw/usb-serial.c b/hw/usb-serial.c index 10772f36cd..92d6dfdd42 100644 --- a/hw/usb-serial.c +++ b/hw/usb-serial.c @@ -483,13 +483,13 @@ static void usb_serial_handle_destroy(USBDevice *dev) qemu_free(s); } -int usb_serial_can_read(void *opaque) +static int usb_serial_can_read(void *opaque) { USBSerialState *s = opaque; return RECV_BUF - s->recv_used; } -void usb_serial_read(void *opaque, const uint8_t *buf, int size) +static void usb_serial_read(void *opaque, const uint8_t *buf, int size) { USBSerialState *s = opaque; int first_size = RECV_BUF - s->recv_ptr; @@ -501,7 +501,7 @@ void usb_serial_read(void *opaque, const uint8_t *buf, int size) s->recv_used += size; } -void usb_serial_event(void *opaque, int event) +static void usb_serial_event(void *opaque, int event) { USBSerialState *s = opaque; |