projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca9e280
)
winsys/radeon: make radeon_bo_vtbl static
author
Marek Olšák
<marek.olsak@amd.com>
Thu, 16 Apr 2015 17:09:57 +0000
(19:09 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Mon, 27 Apr 2015 13:56:27 +0000
(15:56 +0200)
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/winsys/radeon/drm/radeon_drm_bo.c
patch
|
blob
|
history
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
(file)
--- 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 */