Mesa (master): egl/main: drop the declaration of PUBLIC keyword.

Emil Velikov evelikov at kemper.freedesktop.org
Thu Mar 5 14:51:51 UTC 2015


Module: Mesa
Branch: master
Commit: 74c40b9b5676c836b3d6ea2ff32e3d1913a0e559
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=74c40b9b5676c836b3d6ea2ff32e3d1913a0e559

Author: Emil Velikov <emil.l.velikov at gmail.com>
Date:   Sat Feb 28 16:51:21 2015 +0000

egl/main: drop the declaration of PUBLIC keyword.

Should no longer be used. As many places indirectly include
eglcompiler.h keep this change separate, so that it can be easily
reverted, if needed.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Reviewed-by: Brian Paul <brianp at vmware.com>

---

 src/egl/main/eglcompiler.h |   14 --------------
 1 file changed, 14 deletions(-)

diff --git a/src/egl/main/eglcompiler.h b/src/egl/main/eglcompiler.h
index f5fb869..ffd327a 100644
--- a/src/egl/main/eglcompiler.h
+++ b/src/egl/main/eglcompiler.h
@@ -62,20 +62,6 @@
 #  include <stdint.h>
 #endif
 
-
-/**
- * Function visibility
- */
-#ifndef PUBLIC
-#  if defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590))
-#    define PUBLIC __attribute__((visibility("default")))
-#  elif defined(_MSC_VER)
-#    define PUBLIC __declspec(dllexport)
-#  else
-#    define PUBLIC
-#  endif
-#endif
-
 #define STATIC_ASSERT(COND) \
    do { \
       (void) sizeof(char [1 - 2*!(COND)]); \




More information about the mesa-commit mailing list