From: Emil Velikov Date: Sat, 25 Jan 2014 17:19:10 +0000 (+0000) Subject: gbm: do not export _gbm_mesa_get_device X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=10e5ffd4961055ebba5be4d85a93cc66cdd5a635;p=mesa.git 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 Signed-off-by: Emil Velikov Reviewed-by: Matt Turner --- 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