[PATCH 1/5] test: fix "redundant declaration of devices" warning
Chase Douglas
chase.douglas at canonical.com
Tue May 15 08:40:05 PDT 2012
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.hutterer at 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.douglas at canonical.com>
More information about the xorg-devel
mailing list