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 <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-16 14:17:09 +02:00
parent c6aa23769e
commit 0f43098a9b
2 changed files with 1 additions and 9 deletions

View File

@ -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
*/

View File

@ -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;