From d30b04499d9878f8a4180dcb28a050e3177d83a0 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Wed, 6 Aug 2025 14:11:31 +0200 Subject: [PATCH] kdrive: export KdSetColormap() Allow it to be used by other places, eg. upcoming Xfbdev. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/kdrive/src/kcmap.c | 4 +--- hw/kdrive/src/kdrive.h | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/kdrive/src/kcmap.c b/hw/kdrive/src/kcmap.c index c3d28fce46..5e707e7cab 100644 --- a/hw/kdrive/src/kcmap.c +++ b/hw/kdrive/src/kcmap.c @@ -28,9 +28,7 @@ /* * Put the entire colormap into the DAC */ - -static void -KdSetColormap(ScreenPtr pScreen) +void KdSetColormap(ScreenPtr pScreen) { KdScreenPriv(pScreen); ColormapPtr pCmap = pScreenPriv->pInstalledmap; diff --git a/hw/kdrive/src/kdrive.h b/hw/kdrive/src/kdrive.h index 16488678d6..6bf146880d 100644 --- a/hw/kdrive/src/kdrive.h +++ b/hw/kdrive/src/kdrive.h @@ -331,6 +331,8 @@ int void KdStoreColors(ColormapPtr pCmap, int ndef, xColorItem * pdefs); +void KdSetColormap(ScreenPtr pScreen); + /* kdrive.c */ extern miPointerScreenFuncRec kdPointerScreenFuncs;