summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-05-14 14:51:58 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-05-16 10:59:39 +1000
commite6da635826bdda7f67bd492dda8dba8a97809213 (patch)
tree75e0cbf49694f18fcb0a6cfea52bbdce884f229b /test
parent693a31e704c0745b209e69711522417c4fa8541e (diff)
test: fix "redundant declaration of devices" warning
In file included from protocol-xiwarppointer.c:41:0: protocol-common.h:91:23: warning: redundant redeclaration of ‘devices’ [-Wredundant-decls] protocol-common.h:86:3: note: previous declaration of ‘devices’ was here Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
Diffstat (limited to 'test')
-rw-r--r--test/xi2/protocol-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/xi2/protocol-common.h b/test/xi2/protocol-common.h
index 04a1e8990..1b1717599 100644
--- a/test/xi2/protocol-common.h
+++ b/test/xi2/protocol-common.h
@@ -83,7 +83,7 @@ struct devices {
int num_devices;
int num_master_devices;
-} devices;
+};
/**
* The set of default devices available in all tests if necessary.