From 6999bc49d36bee981e262c9f60a1d8683134ffe1 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Fri, 1 Mar 2024 14:32:17 +0100 Subject: [PATCH] dix: unexport AttachOffloadGPU() and DetachOffloadGPU() These aren't externally used, thus no need to export them. Signed-off-by: Enrico Weigelt, metux IT consult Part-of: --- dix/screenint_priv.h | 3 +++ include/screenint.h | 7 ------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/dix/screenint_priv.h b/dix/screenint_priv.h index 96a4b29366..2d98d9ba9d 100644 --- a/dix/screenint_priv.h +++ b/dix/screenint_priv.h @@ -23,4 +23,7 @@ void DetachUnboundGPU(ScreenPtr unbound); void AttachOutputGPU(ScreenPtr pScreen, ScreenPtr newScreen); void DetachOutputGPU(ScreenPtr output); +void AttachOffloadGPU(ScreenPtr pScreen, ScreenPtr newScreen); +void DetachOffloadGPU(ScreenPtr slave); + #endif /* _XSERVER_DIX_SCREENINT_PRIV_H */ diff --git a/include/screenint.h b/include/screenint.h index 8807f1475f..e136f31cfc 100644 --- a/include/screenint.h +++ b/include/screenint.h @@ -53,13 +53,6 @@ typedef struct _PixmapFormat *PixmapFormatPtr; typedef struct _Visual *VisualPtr; typedef struct _Depth *DepthPtr; typedef struct _Screen *ScreenPtr; - -extern _X_EXPORT void -AttachOffloadGPU(ScreenPtr pScreen, ScreenPtr newScreen); - -extern _X_EXPORT void -DetachOffloadGPU(ScreenPtr slave); - typedef struct _ColormapRec *ColormapPtr; #endif /* SCREENINT_H */