mapi: fix typo in macro name
[mesa.git] / src / mapi / entry_x86-64_tls.h
index 38facccc870a1f7b5bae8e82bcc978b5d5897188..8f3fa914a78ad234fecac8201c5ddbe4763d16f0 100644 (file)
  *    Chia-I Wu <olv@lunarg.com>
  */
 
+#ifdef HAVE_FUNC_ATTRIBUTE_VISIBILITY
+#define HIDDEN __attribute__((visibility("hidden")))
+#else
+#define HIDDEN
+#endif
 
 __asm__(".text\n"
         ".balign 32\n"
@@ -54,8 +59,8 @@ entry_patch_public(void)
 {
 }
 
-static char
-x86_64_entry_start[];
+extern char
+x86_64_entry_start[] HIDDEN;
 
 mapi_func
 entry_get_public(int slot)