summaryrefslogtreecommitdiff
path: root/glamor/glamor_egl.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2015-10-15 13:25:12 -0700
committerEric Anholt <eric@anholt.net>2015-11-18 10:02:15 -0800
commit7cd495a88807698b4ebaf9c1fb3db6edf31dd7e6 (patch)
treeff707109bcd531ef771779d326d4ec111b744ffd /glamor/glamor_egl.c
parent6be33fd044949330e0b2b4185882c9664d2f90b4 (diff)
glamor: Make glamor_get_name_from_bo static.
Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Diffstat (limited to 'glamor/glamor_egl.c')
-rw-r--r--glamor/glamor_egl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/glamor/glamor_egl.c b/glamor/glamor_egl.c
index fde768843..e68af18dd 100644
--- a/glamor/glamor_egl.c
+++ b/glamor/glamor_egl.c
@@ -369,9 +369,7 @@ glamor_egl_create_textured_pixmap_from_gbm_bo(PixmapPtr pixmap,
}
#ifdef GLAMOR_HAS_GBM
-void glamor_get_name_from_bo(int gbm_fd, struct gbm_bo *bo, int *name);
-
-void
+static void
glamor_get_name_from_bo(int gbm_fd, struct gbm_bo *bo, int *name)
{
union gbm_bo_handle handle;