Skip to contentSkip to conversation

qemu-timer: Add missing 'static' attribute

PATCH Applied Stefan Weil 2 participants 2 messages May 3, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu-timer: Add missing 'static' attribute

This fixes a warning from the static code analysis (smatch).

---
 qemu-timer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
qemu-timer.c +1 -1
index e15ce47..9be1a41 100644
@@ -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
Signature · 1 line
1.7.10.4