[PATCH:libXfixes 1/2] Remove duplicate declaration of XFixesExtensionName in Xfixesint.h

Alan Coopersmith alan.coopersmith at oracle.com
Sat Mar 9 09:31:51 PST 2013


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>
---
 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