From 468e331cc9586ca8a8f4c6d25ca5bd7466b6426e 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 f79b79363..63e47b969 100644 --- a/dri3/dri3.h +++ b/dri3/dri3.h @@ -128,7 +128,4 @@ 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 /* _DRI3_H_ */ diff --git a/dri3/dri3_priv.h b/dri3/dri3_priv.h index 4db89cbb5..5e790fae5 100644 --- a/dri3/dri3_priv.h +++ b/dri3/dri3_priv.h @@ -118,4 +118,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_ */