From f13bef9592ab1b03e715487a1a1b3f317f27463f Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Mon, 7 Jul 2014 21:50:07 +0200 Subject: 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 hw/timer/tusb6010.c | 3 --- include/hw/usb.h | 7 ++++++- 2 files changed, 6 insertions(+), 4 deletions(-) Signed-off-by: Michael Tokarev --- hw/timer/tusb6010.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'hw/timer') diff --git a/hw/timer/tusb6010.c b/hw/timer/tusb6010.c index bd2a89e..459c748 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; -- cgit v1.1