diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2010-07-28 10:20:41 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-07-28 16:42:00 -0400 |
commit | 38c51a76533a90cf2c9381c99247cfac45fe70eb (patch) | |
tree | 6e9a020fdb29cb0efd72b5106273ba5bfb8a1b3f /src/glx/XF86dri.c | |
parent | 65d98e25770487456eb3d7eb8ec3ec8272f170b1 (diff) | |
download | external_mesa3d-38c51a76533a90cf2c9381c99247cfac45fe70eb.zip external_mesa3d-38c51a76533a90cf2c9381c99247cfac45fe70eb.tar.gz external_mesa3d-38c51a76533a90cf2c9381c99247cfac45fe70eb.tar.bz2 |
glx: Use _X_EXPORT instead of our own PUBLIC macro
We're an X client library, so we can use Xfuncproto.h.
Diffstat (limited to 'src/glx/XF86dri.c')
-rw-r--r-- | src/glx/XF86dri.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/glx/XF86dri.c b/src/glx/XF86dri.c index 36b43f0..5c181d6 100644 --- a/src/glx/XF86dri.c +++ b/src/glx/XF86dri.c @@ -39,21 +39,11 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL) #include <X11/Xlibint.h> +#include <X11/Xfuncproto.h> #include <X11/extensions/Xext.h> #include <X11/extensions/extutil.h> #include "xf86dristr.h" - -#if defined(__GNUC__) -# define PUBLIC __attribute__((visibility("default"))) -# define USED __attribute__((used)) -#else -# define PUBLIC -# define USED -#endif - - - static XExtensionInfo _xf86dri_info_data; static XExtensionInfo *xf86dri_info = &_xf86dri_info_data; static char xf86dri_extension_name[] = XF86DRINAME; |