aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov2015-03-31 16:32:11 -0500
committerEmil Velikov2015-04-28 05:19:15 -0500
commit0f8da82500ec542e269092c0718479e25eaff5f6 (patch)
tree4bfdf0fe56674bd42926f6f4607331d1468d08dd /libdrm_macros.h
parent104c895f650cac7741c12e10ee78bb2fca2cbd49 (diff)
downloadexternal-libgbm-0f8da82500ec542e269092c0718479e25eaff5f6.tar.gz
external-libgbm-0f8da82500ec542e269092c0718479e25eaff5f6.tar.xz
external-libgbm-0f8da82500ec542e269092c0718479e25eaff5f6.zip
drm: remove drm_public macro
Some compilers (like the Oracle Studio), require that the function declaration must be annotated with the same visibility attribute as the definition. As annotating functions with drm_public is no longer required just remove the macro. Cc: Ben Skeggs <bskeggs@redhat.com> Cc: Damien Lespiau <damien.lespiau@intel.com> Cc: Maarten Lankhorst <maarten.lankhorst@canonical.com> Cc: Michel Dänzer <michel.daenzer@amd.com> Cc: Rob Clark <robdclark@gmail.com> Cc: Thierry Reding <treding@nvidia.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'libdrm_macros.h')
-rw-r--r--libdrm_macros.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libdrm_macros.h b/libdrm_macros.h
index 6c3cd594..639d0904 100644
--- a/libdrm_macros.h
+++ b/libdrm_macros.h
@@ -25,10 +25,8 @@
25 25
26#if defined(HAVE_VISIBILITY) 26#if defined(HAVE_VISIBILITY)
27# define drm_private __attribute__((visibility("hidden"))) 27# define drm_private __attribute__((visibility("hidden")))
28# define drm_public __attribute__((visibility("default")))
29#else 28#else
30# define drm_private 29# define drm_private
31# define drm_public
32#endif 30#endif
33 31
34 32