From e6da635826bdda7f67bd492dda8dba8a97809213 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 14 May 2012 14:51:58 +1000 Subject: [PATCH] test: fix "redundant declaration of devices" warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Chase Douglas --- test/xi2/protocol-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.