[PATCH 1/5] 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.hutte...@who-t.net --- 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 04a1e89..1b17175 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. -- 1.7.10.1 ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
Re: [PATCH 1/5] test: fix redundant declaration of devices warning
On 05/15/2012 12:02 AM, Peter Hutterer wrote: 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.hutte...@who-t.net --- 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 04a1e89..1b17175 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. For the series: Reviewed-by: Chase Douglas chase.doug...@canonical.com ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel