qemu-timer: Add missing 'static' attribute
PATCH 1/1 qemu-timer: Add missing 'static' attribute
This fixes a warning from the static code analysis (smatch).
Signed-off-by Stefan Weil <[email protected]>
--- qemu-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
qemu-timer.c +1 -1
@@ -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
Michael Tokarev
AppliedApplied to -trivial, thanks!
/mjt