From 96f324e229d035e6b00e15c96b69a00999d1adcb Mon Sep 17 00:00:00 2001 From: Marek Chalupa Date: Thu, 27 Feb 2014 09:23:21 +0100 Subject: 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 --- src/gbm/main/gbm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gbm/main/gbm.c') 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) { -- cgit v1.2.3