OSDN Git Service

Add framebuffer HAL implementation based on drm_framebuffer (v3)
[android-x86/external-minigbm.git] / cros_gralloc / cros_gralloc_helpers.h
index a55eebc..cd21ca1 100644 (file)
@@ -20,7 +20,7 @@ constexpr uint32_t handle_data_size =
 
 uint32_t cros_gralloc_convert_format(int32_t format);
 
-cros_gralloc_handle_t cros_gralloc_convert_handle(buffer_handle_t handle);
+extern "C" cros_gralloc_handle_t cros_gralloc_convert_handle(buffer_handle_t handle);
 
 int32_t cros_gralloc_sync_wait(int32_t acquire_fence);