From dc0de34d84f3d7bc94907ca47efce93ab5b72d4a Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 22 Apr 2025 20:03:39 +0200 Subject: [PATCH] dri: unexport drm_format_for_depth() Not used by any external drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- dri3/dri3.h | 3 --- dri3/dri3_priv.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dri3/dri3.h b/dri3/dri3.h index 33a91ecfb..d8a372ced 100644 --- a/dri3/dri3.h +++ b/dri3/dri3.h @@ -142,9 +142,6 @@ typedef struct dri3_screen_info { extern _X_EXPORT Bool dri3_screen_init(ScreenPtr screen, const dri3_screen_info_rec *info); -extern _X_EXPORT uint32_t -drm_format_for_depth(uint32_t depth, uint32_t bpp); - #endif #endif /* _DRI3_H_ */ diff --git a/dri3/dri3_priv.h b/dri3/dri3_priv.h index b1e0639fd..e72bef3e1 100644 --- a/dri3/dri3_priv.h +++ b/dri3/dri3_priv.h @@ -108,4 +108,7 @@ dri3_import_syncobj(ClientPtr client, ScreenPtr screen, XID id, int fd); int dri3_send_open_reply(ClientPtr client, int fd); +uint32_t +drm_format_for_depth(uint32_t depth, uint32_t bpp); + #endif /* _DRI3PRIV_H_ */