aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/legacy.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/drm/legacy.c')
-rw-r--r--backend/drm/legacy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/drm/legacy.c b/backend/drm/legacy.c
index 79cd05b9..32d68814 100644
--- a/backend/drm/legacy.c
+++ b/backend/drm/legacy.c
@@ -68,13 +68,13 @@ bool legacy_crtc_move_cursor(struct wlr_drm_backend *drm,
return !drmModeMoveCursor(drm->fd, crtc->id, x, y);
}
-bool legacy_crtc_set_gamma(struct wlr_drm_backend *drm,
+static bool legacy_crtc_set_gamma(struct wlr_drm_backend *drm,
struct wlr_drm_crtc *crtc, size_t size,
uint16_t *r, uint16_t *g, uint16_t *b) {
return !drmModeCrtcSetGamma(drm->fd, crtc->id, (uint32_t)size, r, g, b);
}
-size_t legacy_crtc_get_gamma_size(struct wlr_drm_backend *drm,
+static size_t legacy_crtc_get_gamma_size(struct wlr_drm_backend *drm,
struct wlr_drm_crtc *crtc) {
return (size_t)crtc->legacy_crtc->gamma_size;
}