From: Emil Velikov Date: Sat, 25 Jan 2014 17:19:10 +0000 (+0000) Subject: gbm: do not export _gbm_mesa_get_device X-Git-Tag: upstream/10.3~3779 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10e5ffd4961055ebba5be4d85a93cc66cdd5a635;p=platform%2Fupstream%2Fmesa.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 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