gbm/dri: hide extension loader symbols
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Mon, 25 Nov 2013 12:10:55 +0000 (13:10 +0100)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Mon, 25 Nov 2013 12:13:47 +0000 (13:13 +0100)
They should not be exposed.

Cc: "10.0" <mesa-stable@lists.freedesktop.org>
src/gbm/backends/dri/gbm_dri.c

index 6c63c75e92d36e88ffa87c6eb13699acecf40a73..b4b97ac6a972d53f751b7ceb0e1342d9539ad25e 100644 (file)
@@ -131,14 +131,14 @@ static const __DRIimageLookupExtension image_lookup_extension = {
    dri_lookup_egl_image
 };
 
-const __DRIdri2LoaderExtension dri2_loader_extension = {
+static const __DRIdri2LoaderExtension dri2_loader_extension = {
    { __DRI_DRI2_LOADER, 3 },
    dri_get_buffers,
    dri_flush_front_buffer,
    dri_get_buffers_with_format,
 };
 
-const __DRIimageLoaderExtension image_loader_extension = {
+static const __DRIimageLoaderExtension image_loader_extension = {
    { __DRI_IMAGE_LOADER, 1 },
    image_get_buffers,
    dri_flush_front_buffer,