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 <[email protected]>
both patches:
Reviewed-by: Peter Hutterer <[email protected]>

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

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to