diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2011-12-05 14:42:35 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2011-12-19 13:38:46 -0800 |
commit | 2df539c0bc3300ea858f8bc7d52e95e67ff379b8 (patch) | |
tree | e2a968f1730a46a48291a8a7b16f9acdbbe5d75d /glx/glxext.h | |
parent | c065f7b16329e30cb976359e0a807c2adaf50123 (diff) |
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 <ian.d.romanick@intel.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'glx/glxext.h')
-rw-r--r-- | glx/glxext.h | 2 |
1 files changed, 0 insertions, 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); |