[PATCH:libXfixes 1/2] Remove duplicate declaration of XFixesExtensionName in Xfixesint.h
Peter Hutterer
peter.hutterer at who-t.net
Sat Mar 9 20:16:21 PST 2013
On Sat, Mar 09, 2013 at 09:31:51AM -0800, Alan Coopersmith wrote:
> Silences gcc warnings:
> In file included from Region.c:26:0:
> Xfixesint.h:52:13: warning: redundant redeclaration of 'XFixesExtensionName' [-Wredundant-decls]
> Xfixesint.h:34:13: note: previous declaration of 'XFixesExtensionName' was here
>
> In file included from Cursor.c:49:0:
> Xfixesint.h:52:13: warning: redundant redeclaration of 'XFixesExtensionName' [-Wredundant-decls]
> Xfixesint.h:34:13: note: previous declaration of 'XFixesExtensionName' was here
>
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
both patches:
Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
Cheers,
Peter
> ---
> src/Xfixesint.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/src/Xfixesint.h b/src/Xfixesint.h
> index 2ee17bc..8a4d5fd 100644
> --- a/src/Xfixesint.h
> +++ b/src/Xfixesint.h
> @@ -31,8 +31,6 @@
> #include "Xfixes.h"
> #include <X11/extensions/xfixesproto.h>
>
> -extern char XFixesExtensionName[];
> -
> typedef struct _XFixesExtDisplayInfo {
> struct _XFixesExtDisplayInfo *next; /* keep a linked list */
> Display *display; /* which display this is */
> --
> 1.7.9.2
More information about the xorg-devel
mailing list