summaryrefslogtreecommitdiff
path: root/src/gbm/main
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-01-25 17:19:10 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2014-02-11 19:00:09 +0000
commit10e5ffd4961055ebba5be4d85a93cc66cdd5a635 (patch)
treed4449a2fb1732f7a5bf419069e587ba17e633172 /src/gbm/main
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 <krh@bitplanet.net> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/gbm/main')
-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 72eeabf314..7a4e4060bd 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 a467beaed2..4baf8e3d3d 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