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>
struct vl_screen *
vl_drm_screen_create(int fd);
-void
-vl_drm_screen_destroy(struct vl_screen *vscreen);
-
#endif
#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;
return NULL;
}
-void
+static void
vl_drm_screen_destroy(struct vl_screen *vscreen)
{
assert(vscreen);