[Mesa-dev] [PATCH 05/22] gbm: do not export _gbm_mesa_get_device

Emil Velikov emil.l.velikov at gmail.com
Sat Feb 8 08:03:50 PST 2014


This symbol is internal and was never part of the API.
Unused by any of the gbm backends, it makes sense to
simply not export it.

Cc: Kristian Høgsberg <krh at bitplanet.net>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/gbm/main/gbm.c    | 2 +-
 src/gbm/main/gbmint.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gbm/main/gbm.c b/src/gbm/main/gbm.c
index 72eeabf..7a4e406 100644
--- a/src/gbm/main/gbm.c
+++ b/src/gbm/main/gbm.c
@@ -100,7 +100,7 @@ gbm_device_destroy(struct gbm_device *gbm)
       gbm->destroy(gbm);
 }
 
-GBM_EXPORT struct gbm_device *
+struct gbm_device *
 _gbm_mesa_get_device(int fd)
 {
    struct gbm_device *gbm = NULL;
diff --git a/src/gbm/main/gbmint.h b/src/gbm/main/gbmint.h
index a467bea..4baf8e3 100644
--- a/src/gbm/main/gbmint.h
+++ b/src/gbm/main/gbmint.h
@@ -110,7 +110,7 @@ struct gbm_backend {
    struct gbm_device *(*create_device)(int fd);
 };
 
-GBM_EXPORT struct gbm_device *
+struct gbm_device *
 _gbm_mesa_get_device(int fd);
 
 #endif
-- 
1.8.5.2



More information about the mesa-dev mailing list