aboutsummaryrefslogtreecommitdiff
path: root/hw/m68k/next-cube.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2021-01-15 20:11:56 +0000
committerThomas Huth <huth@tuxfamily.org>2021-01-19 09:10:00 +0100
commitc8abcc87b1d61d61ca51a3cbe5002fcdee8fa724 (patch)
treee8a87a1391b2be3708a9f3c07102b67d9dcb5b4b /hw/m68k/next-cube.c
parente43d564fa3a0d1e133935c8180ad4f4ccf699f33 (diff)
downloadqemu-c8abcc87b1d61d61ca51a3cbe5002fcdee8fa724.zip
qemu-c8abcc87b1d61d61ca51a3cbe5002fcdee8fa724.tar.gz
qemu-c8abcc87b1d61d61ca51a3cbe5002fcdee8fa724.tar.bz2
hw/m68k/next-cube: Make next_irq() function static
The next_irq() function is global, but isn't actually used anywhere outside next-cube.c. Make it static. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20210115201206.17347-2-peter.maydell@linaro.org> Signed-off-by: Thomas Huth <huth@tuxfamily.org>
Diffstat (limited to 'hw/m68k/next-cube.c')
-rw-r--r--hw/m68k/next-cube.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/m68k/next-cube.c b/hw/m68k/next-cube.c
index 37bc35d..f622d65 100644
--- a/hw/m68k/next-cube.c
+++ b/hw/m68k/next-cube.c
@@ -724,7 +724,7 @@ static const MemoryRegionOps dma_ops = {
* TODO: set the shift numbers as values in the enum, so the first switch
* will not be needed
*/
-void next_irq(void *opaque, int number, int level)
+static void next_irq(void *opaque, int number, int level)
{
M68kCPU *cpu = opaque;
int shift = 0;