diff options
author | Marek Chalupa <[email protected]> | 2014-02-27 09:23:21 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-02-28 22:57:30 +0000 |
commit | 96f324e229d035e6b00e15c96b69a00999d1adcb (patch) | |
tree | dd037ccd794c82adb800200bc7d9647999cb4ec7 /src/gbm/main/gbm.c | |
parent | dfe8cb48fc13587afb2d829c29432c0eacd0aba3 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gbm/main/gbm.c')
-rw-r--r-- | src/gbm/main/gbm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |