From 96bbdc5188faf4c3b1df6d3a65aeb0daff61e384 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Thu, 16 Apr 2015 19:09:57 +0200 Subject: winsys/radeon: make radeon_bo_vtbl static MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Michel Dänzer --- src/gallium/winsys/radeon/drm/radeon_drm_bo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/winsys/radeon') diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c index e609d686837..061c814ae61 100644 --- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c +++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c @@ -42,7 +42,7 @@ #include #include -extern const struct pb_vtbl radeon_bo_vtbl; +static const struct pb_vtbl radeon_bo_vtbl; static INLINE struct radeon_bo *radeon_bo(struct pb_buffer *bo) { @@ -471,7 +471,7 @@ static void radeon_bo_fence(struct pb_buffer *buf, { } -const struct pb_vtbl radeon_bo_vtbl = { +static const struct pb_vtbl radeon_bo_vtbl = { radeon_bo_destroy, NULL, /* never called */ NULL, /* never called */ -- cgit v1.2.3