[PATCH 1/4] glx: Only declare GlxExtensionInit in one header file
Ian Romanick
idr at freedesktop.org
Fri Dec 16 10:30:10 PST 2011
From: Ian Romanick <ian.d.romanick at intel.com>
This silences the GCC warning:
In file included from singlepixswap.c:36:0:
glxext.h:47:13: warning: redundant redeclaration of 'GlxExtensionInit' [-Wredundant-decls]
glxserver.h:80:6: note: previous declaration of 'GlxExtensionInit' was here
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
glx/glxext.h | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/glx/glxext.h b/glx/glxext.h
index 7008c47..58cf054 100644
--- a/glx/glxext.h
+++ b/glx/glxext.h
@@ -44,8 +44,6 @@ extern void __glXClearErrorOccured(void);
extern GLboolean __glXErrorOccured(void);
extern void __glXResetLargeCommandStatus(__GLXclientState*);
-extern void GlxExtensionInit(void);
-
extern const char GLServerVersion[];
extern int DoGetString(__GLXclientState *cl, GLbyte *pc, GLboolean need_swap);
--
1.7.6.4
More information about the xorg-devel
mailing list