[Mesa-dev] [PATCH 1/7] glx: remove always false ifdef GLX_NO_STATIC_EXTENSION_FUNCTIONS

Emil Velikov emil.l.velikov at gmail.com
Mon Dec 5 19:52:39 UTC 2016


From: Emil Velikov <emil.velikov at collabora.com>

Quick search through git history (of both mesa and xserver) hows no
instances where this was ever set.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/glx/glxextensions.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/glx/glxextensions.h b/src/glx/glxextensions.h
index 743ed97..6a67006 100644
--- a/src/glx/glxextensions.h
+++ b/src/glx/glxextensions.h
@@ -281,10 +281,6 @@ typedef void (*PFNGLXDISABLEEXTENSIONPROC) (const char *name);
 
 /* GLX_ALIAS should be used for functions with a non-void return type.
    GLX_ALIAS_VOID is for functions with a void return type. */
-#ifdef GLX_NO_STATIC_EXTENSION_FUNCTIONS
-# define GLX_ALIAS(return_type, real_func, proto_args, args, aliased_func)
-# define GLX_ALIAS_VOID(real_func, proto_args, args, aliased_func)
-#else
 # if defined(__GNUC__) && !defined(GLX_ALIAS_UNSUPPORTED)
 /* GLX_ALIAS and GLX_ALIAS_VOID both expand to the macro GLX_ALIAS2. Using the
  * extra expansion means that the name mangling macros in glx_mangle.h will
@@ -305,7 +301,6 @@ typedef void (*PFNGLXDISABLEEXTENSIONPROC) (const char *name);
    void  real_func  proto_args                                      \
    { aliased_func args ; }
 # endif /* __GNUC__ */
-#endif /* GLX_NO_STATIC_EXTENSION_FUNCTIONS */
 
 #ifdef __cplusplus
 }
-- 
2.10.2



More information about the mesa-dev mailing list