aboutsummaryrefslogtreecommitdiff
path: root/hw/timer
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2014-07-07 21:50:07 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2014-08-09 00:06:32 +0400
commitf13bef9592ab1b03e715487a1a1b3f317f27463f (patch)
treeabb2ecfb77515f6ee2093cbfe328a68fef7b0afb /hw/timer
parent0f03fb6094743b50d403b9f6181aced9ded98883 (diff)
hw/timer: Move extern declaration from .c to .h file
This fixes a warning from smatch (static code analyser). Fix also the comment with the renamed source file name. Signed-off-by: Stefan Weil <sw@weilnetz.de> hw/timer/tusb6010.c | 3 --- include/hw/usb.h | 7 ++++++- 2 files changed, 6 insertions(+), 4 deletions(-) Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/timer')
-rw-r--r--hw/timer/tusb6010.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/timer/tusb6010.c b/hw/timer/tusb6010.c
index bd2a89e020..459c748e1b 100644
--- a/hw/timer/tusb6010.c
+++ b/hw/timer/tusb6010.c
@@ -282,9 +282,6 @@ static void tusb_gpio_intr_update(TUSBState *s)
/* TODO: How is this signalled? */
}
-extern CPUReadMemoryFunc * const musb_read[];
-extern CPUWriteMemoryFunc * const musb_write[];
-
static uint32_t tusb_async_readb(void *opaque, hwaddr addr)
{
TUSBState *s = (TUSBState *) opaque;