summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/mesa/src/gallium/targets/omx/target.c3
-rw-r--r--lib/mesa/src/mapi/entry_x86_tsd.h9
2 files changed, 3 insertions, 9 deletions
diff --git a/lib/mesa/src/gallium/targets/omx/target.c b/lib/mesa/src/gallium/targets/omx/target.c
index 308e23bb4..fde4a4a7d 100644
--- a/lib/mesa/src/gallium/targets/omx/target.c
+++ b/lib/mesa/src/gallium/targets/omx/target.c
@@ -1,2 +1 @@
-#include "target-helpers/drm_helper.h"
-#include "target-helpers/sw_helper.h"
+#include "target-helpers/inline_drm_helper.h"
diff --git a/lib/mesa/src/mapi/entry_x86_tsd.h b/lib/mesa/src/mapi/entry_x86_tsd.h
index 0c28c8ff0..ea7bacb43 100644
--- a/lib/mesa/src/mapi/entry_x86_tsd.h
+++ b/lib/mesa/src/mapi/entry_x86_tsd.h
@@ -25,11 +25,6 @@
* Chia-I Wu <olv@lunarg.com>
*/
-#ifdef HAVE_FUNC_ATTRIBUTE_VISIBILITY
-#define HIDDEN __attribute__((visibility("hidden")))
-#else
-#define HIDDEN
-#endif
#define X86_ENTRY_SIZE 32
@@ -63,8 +58,8 @@ __asm__(".balign 32\n"
#include <string.h>
#include "u_execmem.h"
-extern const char x86_entry_start[] HIDDEN;
-extern const char x86_entry_end[] HIDDEN;
+static const char x86_entry_start[];
+static const char x86_entry_end[];
void
entry_patch_public(void)