auxiliary/vl/drm: hide internal functions

As of last commit everyone is using the vl_screen dispatch, thus we can
hide this function from the headers and make it static.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Emil Velikov 2015-11-09 11:24:35 +00:00
parent abbfda60d8
commit 4533c022f4
2 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -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);