[Mesa-dev] [PATCH 1/5] winsys/radeon: make radeon_bo_vtbl static

Marek Olšák maraeo at gmail.com
Mon Apr 20 14:59:52 PDT 2015


From: Marek Olšák <marek.olsak at amd.com>

---
 src/gallium/winsys/radeon/drm/radeon_drm_bo.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
index e609d68..061c814 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 <fcntl.h>
 #include <stdio.h>
 
-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 */
-- 
2.1.0



More information about the mesa-dev mailing list