summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-04-16 19:09:57 +0200
committerMarek Olšák <[email protected]>2015-04-27 15:56:27 +0200
commit96bbdc5188faf4c3b1df6d3a65aeb0daff61e384 (patch)
tree5666f20ec32570bbafb040869fae9b5d0ba002dc /src
parentca9e280d897a307c485ef4dc7163e1f6900dc768 (diff)
winsys/radeon: make radeon_bo_vtbl static
Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_drm_bo.c4
1 files 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 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 <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 */