summaryrefslogtreecommitdiffstats
path: root/src/glx/XF86dri.c
diff options
context:
space:
mode:
authorKristian Høgsberg <[email protected]>2010-07-28 10:20:41 -0400
committerKristian Høgsberg <[email protected]>2010-07-28 16:42:00 -0400
commit38c51a76533a90cf2c9381c99247cfac45fe70eb (patch)
tree6e9a020fdb29cb0efd72b5106273ba5bfb8a1b3f /src/glx/XF86dri.c
parent65d98e25770487456eb3d7eb8ec3ec8272f170b1 (diff)
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.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/glx/XF86dri.c b/src/glx/XF86dri.c
index 36b43f0f84a..5c181d6db9e 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;