From d1e641739bdf7393d8cc60674fff8a69c2f648f2 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 2 May 2025 15:43:16 +0200 Subject: [PATCH] xfree86: unexport xf86RandR12CreateScreenResources() Not used by any drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/modes/xf86RandR12.h | 1 - hw/xfree86/modes/xf86RandR12_priv.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hw/xfree86/modes/xf86RandR12.h b/hw/xfree86/modes/xf86RandR12.h index b8a31ddff..e92cd64a2 100644 --- a/hw/xfree86/modes/xf86RandR12.h +++ b/hw/xfree86/modes/xf86RandR12.h @@ -25,7 +25,6 @@ #include #include -extern _X_EXPORT Bool xf86RandR12CreateScreenResources(ScreenPtr pScreen); extern _X_EXPORT Bool xf86RandR12Init(ScreenPtr pScreen); extern _X_EXPORT void xf86RandR12SetRotations(ScreenPtr pScreen, Rotation rotation); diff --git a/hw/xfree86/modes/xf86RandR12_priv.h b/hw/xfree86/modes/xf86RandR12_priv.h index 5cfe0c508..ae795fb0e 100644 --- a/hw/xfree86/modes/xf86RandR12_priv.h +++ b/hw/xfree86/modes/xf86RandR12_priv.h @@ -5,6 +5,7 @@ #ifndef _XSERVER_XF86RANDR12_PRIV_H_ #define _XSERVER_XF86RANDR12_PRIV_H_ +#include #include #include "randrstr.h" @@ -16,5 +17,6 @@ void xf86RandR12LoadPalette(ScrnInfoPtr pScrn, int numColors, Bool xf86RandR12InitGamma(ScrnInfoPtr pScrn, unsigned gammaSize); void xf86RandR12CloseScreen(ScreenPtr pScreen); +Bool xf86RandR12CreateScreenResources(ScreenPtr pScreen); #endif /* _XSERVER_XF86RANDR12_PRIV_H_ */