gallium: move winsys handle to it's own file.
[mesa.git] / src / mapi / entry_x86_tls.h
index df31dce55f1ba385d7c5f6ef9454ca62f57662c0..545b5a3c786d90e6b4e0d3376f21ee8956068b4e 100644 (file)
  */
 
 #include <string.h>
-#include "u_macros.h"
+
+#ifdef HAVE_FUNC_ATTRIBUTE_VISIBILITY
+#define HIDDEN __attribute__((visibility("hidden")))
+#else
+#define HIDDEN
+#endif
 
 __asm__(".text");
 
@@ -72,8 +77,8 @@ __asm__(".text");
 extern unsigned long
 x86_current_tls();
 
-static char x86_entry_start[];
-static char x86_entry_end[];
+extern char x86_entry_start[] HIDDEN;
+extern char x86_entry_end[] HIDDEN;
 
 void
 entry_patch_public(void)