gbm: export gbm_device_is_format_supported
authorMarek Chalupa <mchqwerty@gmail.com>
Thu, 27 Feb 2014 08:23:21 +0000 (09:23 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 28 Feb 2014 22:57:30 +0000 (22:57 +0000)
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 <emil.l.velikov@gmail.com>
src/gbm/main/gbm.c

index 7a4e4060bd5aad2ddc14c94c97db0421c559dc45..b057386b946b6efb85f3319d171bbc84621b0ca9 100644 (file)
@@ -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)
 {