From 591cdd4428661321e42089015fb6af5e6aeddc7a Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 13 Feb 2026 12:23:49 +0100 Subject: [PATCH] xfree86: ramdac: unexport xf86CursorScreenKeyRec within private header This symbol is defined in a private header (which never been part of SDK, thus drivers couldn't compile against it). None of our drivers ever using it. Same for the structure that this devPrivate is pointing to. The proprietary Nvidia drivers seem to have some code path trying to look it up dynamically. But we have no idea whether these are actually active and still relevant today. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/ramdac/xf86CursorPriv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xfree86/ramdac/xf86CursorPriv.h b/hw/xfree86/ramdac/xf86CursorPriv.h index 12978871e5..204a48c7a2 100644 --- a/hw/xfree86/ramdac/xf86CursorPriv.h +++ b/hw/xfree86/ramdac/xf86CursorPriv.h @@ -43,7 +43,7 @@ void xf86RecolorCursor(ScreenPtr pScreen, CursorPtr pCurs, Bool displayed); Bool xf86InitHardwareCursor(ScreenPtr pScreen, xf86CursorInfoPtr infoPtr); Bool xf86CheckHWCursor(ScreenPtr pScreen, CursorPtr cursor, xf86CursorInfoPtr infoPtr); -extern _X_EXPORT DevPrivateKeyRec xf86CursorScreenKeyRec; +extern DevPrivateKeyRec xf86CursorScreenKeyRec; extern DevScreenPrivateKeyRec xf86ScreenCursorBitsKeyRec;