From: Marek Olšák Date: Thu, 16 Apr 2015 17:09:57 +0000 (+0200) Subject: winsys/radeon: make radeon_bo_vtbl static X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96bbdc5188faf4c3b1df6d3a65aeb0daff61e384;p=mesa.git winsys/radeon: make radeon_bo_vtbl static Reviewed-by: Michel Dänzer --- 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 */