mirror of
https://github.com/qemu/qemu.git
synced 2024-11-28 06:13:46 +08:00
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>
This commit is contained in:
parent
6075137d94
commit
fbdb664cb6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user