From 0f43098a9bb6a897666c563b50c3ad5ea978acc7 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 16 May 2025 14:17:09 +0200 Subject: [PATCH] randr: make RRCrtcGammaGet() static Only used locally inside rrcrtc.c, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- randr/randrstr.h | 8 -------- randr/rrcrtc.c | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/randr/randrstr.h b/randr/randrstr.h index de4241afc..cd37c6afe 100644 --- a/randr/randrstr.h +++ b/randr/randrstr.h @@ -641,14 +641,6 @@ RRCrtcSet(RRCrtcPtr crtc, extern _X_EXPORT Bool RRCrtcGammaSet(RRCrtcPtr crtc, CARD16 *red, CARD16 *green, CARD16 *blue); -/* - * Request current gamma back from the DDX (if possible). - * This includes gamma size. - */ - -extern _X_EXPORT Bool - RRCrtcGammaGet(RRCrtcPtr crtc); - /* * Set the size of the gamma table at server startup time */ diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c index ffb69e233..e7cf3f01c 100644 --- a/randr/rrcrtc.c +++ b/randr/rrcrtc.c @@ -946,7 +946,7 @@ RRCrtcGammaSet(RRCrtcPtr crtc, CARD16 *red, CARD16 *green, CARD16 *blue) * Request current gamma back from the DDX (if possible). * This includes gamma size. */ -Bool +static Bool RRCrtcGammaGet(RRCrtcPtr crtc) { Bool ret = TRUE;