From 2df539c0bc3300ea858f8bc7d52e95e67ff379b8 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Mon, 5 Dec 2011 14:42:35 -0800 Subject: [PATCH] glx: Only declare GlxExtensionInit in one header file 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 Reviewed-by: Adam Jackson --- glx/glxext.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/glx/glxext.h b/glx/glxext.h index 7008c4763..58cf0540f 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);