summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-01-25 17:19:10 +0000
committerEmil Velikov <[email protected]>2014-02-11 19:00:09 +0000
commit10e5ffd4961055ebba5be4d85a93cc66cdd5a635 (patch)
treed4449a2fb1732f7a5bf419069e587ba17e633172
parentd00b319f4071a2e31bbe12e1cbad7ef7681e1ebb (diff)
gbm: do not export _gbm_mesa_get_device
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 <[email protected]> Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Matt Turner <[email protected]>
-rw-r--r--src/gbm/main/gbm.c2
-rw-r--r--src/gbm/main/gbmint.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gbm/main/gbm.c b/src/gbm/main/gbm.c
index 72eeabf3140..7a4e4060bd5 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 a467beaed20..4baf8e3d3d1 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