diff options
author | Emil Velikov <[email protected]> | 2015-11-09 11:24:35 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-11-20 10:58:45 +0000 |
commit | 4533c022f41ebcaa91f2c22c04824d647c8c9fec (patch) | |
tree | 5c6a51b7a2e03372b864d942f8b377bcba43f93b /src/gallium/auxiliary/vl/vl_winsys_drm.c | |
parent | abbfda60d8b5ff870c75073cd408551c25c6a0b5 (diff) |
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 <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_winsys_drm.c')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_winsys_drm.c | 7 |
1 files changed, 5 insertions, 2 deletions
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); |