diff mbox

qemu-timer: Add missing 'static' attribute

Message ID 1399097535-24897-1-git-send-email-sw@weilnetz.de
State Accepted
Headers show

Commit Message

Stefan Weil May 3, 2014, 6:12 a.m. UTC
This fixes a warning from the static code analysis (smatch).

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 qemu-timer.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Tokarev May 3, 2014, 9:07 a.m. UTC | #1
Applied to -trivial, thanks!

/mjt
diff mbox

Patch

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