From 5399411e4d2e9e559ec1ef20f3de909227d5b438 Mon Sep 17 00:00:00 2001 From: Marek Chalupa Date: Wed, 26 Feb 2014 15:09:19 +0100 Subject: [PATCH] gbm: export gbm_device_is_format_supported Some linkers hide it so that undefined reference error can be encountred --- src/gbm/main/gbm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gbm/main/gbm.c b/src/gbm/main/gbm.c index 7a4e406..b057386 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) { -- 1.8.4.2