]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/blobdiff - tests/test-throttle.c
tests: Add missing 'static' attributes (fix warnings from smatch)
[lisovros/qemu_apohw.git] / tests / test-throttle.c
index 3de6ab80e01e967aa1e71bdf528b16044b0872f8..000ae31af92743f6a85a2a9a7bf19991853a9ed6 100644 (file)
 #include "block/aio.h"
 #include "qemu/throttle.h"
 
-AioContext     *ctx;
-LeakyBucket    bkt;
-ThrottleConfig cfg;
-ThrottleState  ts;
+static AioContext     *ctx;
+static LeakyBucket    bkt;
+static ThrottleConfig cfg;
+static ThrottleState  ts;
 
 /* useful function */
 static bool double_cmp(double x, double y)