summaryrefslogtreecommitdiffstats
path: root/qemu-timer.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2014-05-03 08:12:15 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2014-05-07 21:00:43 +0400
commitfbdb664cb69730d043e7eb3b89db1cc8b419080f (patch)
treea80e20bc600ed40e4081102fd935a48cb128bc8d /qemu-timer.c
parent6075137d949e078744b332ba2279348bff64bf83 (diff)
downloadhqemu-fbdb664cb69730d043e7eb3b89db1cc8b419080f.zip
hqemu-fbdb664cb69730d043e7eb3b89db1cc8b419080f.tar.gz
qemu-timer: Add missing 'static' attribute
This fixes a warning from the static code analysis (smatch). Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'qemu-timer.c')
-rw-r--r--qemu-timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-timer.c b/qemu-timer.c
index e15ce47..9be1a41 100644
--- a/qemu-timer.c
+++ b/qemu-timer.c
@@ -56,7 +56,7 @@ typedef struct QEMUClock {
} QEMUClock;
QEMUTimerListGroup main_loop_tlg;
-QEMUClock qemu_clocks[QEMU_CLOCK_MAX];
+static QEMUClock qemu_clocks[QEMU_CLOCK_MAX];
/* A QEMUTimerList is a list of timers attached to a clock. More
* than one QEMUTimerList can be attached to each clock, for instance
OpenPOWER on IntegriCloud