projects
/
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 e609d6868370daa7e6c995d58614caf8132a8f2d..061c814ae61b0cc6b17989231ca3358dd6daca1f 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 */