From: Marek Chalupa Date: Thu, 27 Feb 2014 08:23:21 +0000 (+0100) Subject: gbm: export gbm_device_is_format_supported X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96f324e229d035e6b00e15c96b69a00999d1adcb;p=mesa.git gbm: export gbm_device_is_format_supported Probably depending on compiler settings, the definition can be hidden, so undefined reference error can be encountred during linking. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=75528 Reviewed-by: Emil Velikov --- diff --git a/src/gbm/main/gbm.c b/src/gbm/main/gbm.c index 7a4e4060bd5..b057386b946 100644 --- a/src/gbm/main/gbm.c +++ b/src/gbm/main/gbm.c @@ -81,7 +81,7 @@ gbm_device_get_backend_name(struct gbm_device *gbm) * * \sa enum gbm_bo_format for the list of formats */ -int +GBM_EXPORT int gbm_device_is_format_supported(struct gbm_device *gbm, uint32_t format, uint32_t usage) {