summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/vl/vl_winsys.h3
-rw-r--r--src/gallium/auxiliary/vl/vl_winsys_drm.c7
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/vl/vl_winsys.h b/src/gallium/auxiliary/vl/vl_winsys.h
index 5390f722d09..8be4692e369 100644
--- a/src/gallium/auxiliary/vl/vl_winsys.h
+++ b/src/gallium/auxiliary/vl/vl_winsys.h
@@ -86,7 +86,4 @@ vl_dri2_screen_create(Display *display, int screen);
struct vl_screen *
vl_drm_screen_create(int fd);
-void
-vl_drm_screen_destroy(struct vl_screen *vscreen);
-
#endif
diff --git a/src/gallium/auxiliary/vl/vl_winsys_drm.c b/src/gallium/auxiliary/vl/vl_winsys_drm.c
index b9efc9a901b..c96187bf1c5 100644
--- a/src/gallium/auxiliary/vl/vl_winsys_drm.c
+++ b/src/gallium/auxiliary/vl/vl_winsys_drm.c
@@ -34,7 +34,10 @@
#include "util/u_memory.h"
#include "vl/vl_winsys.h"
-struct vl_screen*
+static void
+vl_drm_screen_destroy(struct vl_screen *vscreen);
+
+struct vl_screen *
vl_drm_screen_create(int fd)
{
struct vl_screen *vscreen;
@@ -72,7 +75,7 @@ error:
return NULL;
}
-void
+static void
vl_drm_screen_destroy(struct vl_screen *vscreen)
{
assert(vscreen);