qemu-timer: Add missing 'static' attribute
authorStefan Weil <sw@weilnetz.de>
Sat, 3 May 2014 06:12:15 +0000 (08:12 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 7 May 2014 17:00:43 +0000 (21:00 +0400)
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>
qemu-timer.c

index e15ce477ccd55c44f518d348f5a2e4c0e68bf8a6..9be1a4131d6318f7b6d3f93e3b1253f5884d82eb 100644 (file)
@@ -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