aboutsummaryrefslogtreecommitdiff
path: root/tests/test-aio.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2014-07-07 21:03:38 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2014-07-18 17:45:37 +0400
commit748bfb4eee8e699f3d2dd6a95820d1a9e57e4aa6 (patch)
treebefe55dc6ab946c93eae3082d6a013e2ff26754b /tests/test-aio.c
parent7a46d042e02e87157c13424df56dd06e9da77e89 (diff)
tests: Add missing 'static' attributes (fix warnings from smatch)
Smatch also complains about 0 used for pointers, so replace those by NULL in test-visitor-serialization.c, too. Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'tests/test-aio.c')
-rw-r--r--tests/test-aio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-aio.c b/tests/test-aio.c
index 4c40a4971f..f12b6e0ae8 100644
--- a/tests/test-aio.c
+++ b/tests/test-aio.c
@@ -15,7 +15,7 @@
#include "qemu/timer.h"
#include "qemu/sockets.h"
-AioContext *ctx;
+static AioContext *ctx;
typedef struct {
EventNotifier e;