mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-05 14:07:41 -07: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue