From: Stefan Weil Date: Sat, 3 May 2014 06:12:15 +0000 (+0200) Subject: qemu-timer: Add missing 'static' attribute X-Git-Tag: qemu-xen-4.6.0-rc1~469^2~11 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=fbdb664cb69730d043e7eb3b89db1cc8b419080f;p=qemu-upstream-4.6-testing.git qemu-timer: Add missing 'static' attribute This fixes a warning from the static code analysis (smatch). Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev --- diff --git a/qemu-timer.c b/qemu-timer.c index e15ce477c..9be1a4131 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