mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-17 14:50:45 +02:00
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:
parent
abbfda60d8
commit
4533c022f4
2 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue