From 872afc63966ca14fc6e166474e2328ca75134a5d Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 20 May 2025 19:14:57 +0200 Subject: [PATCH] xfree86: xf86.h: drop unused xf86GetDepth() Not used anywhere, so no need to keep it anymore. Signed-off-by: Enrico Weigelt, metux IT consult --- hw/xfree86/common/xf86.h | 2 -- hw/xfree86/common/xf86Helper.c | 6 ------ hw/xfree86/doc/ddxDesign.xml | 11 ----------- 3 files changed, 19 deletions(-) diff --git a/hw/xfree86/common/xf86.h b/hw/xfree86/common/xf86.h index a6b94b0e1..2bba1295f 100644 --- a/hw/xfree86/common/xf86.h +++ b/hw/xfree86/common/xf86.h @@ -242,8 +242,6 @@ extern _X_EXPORT const char * xf86GetVisualName(int visual); extern _X_EXPORT int xf86GetVerbosity(void); -extern _X_EXPORT int -xf86GetDepth(void); extern _X_EXPORT rgb xf86GetWeight(void); extern _X_EXPORT Gamma diff --git a/hw/xfree86/common/xf86Helper.c b/hw/xfree86/common/xf86Helper.c index cb5394ff6..472932a3d 100644 --- a/hw/xfree86/common/xf86Helper.c +++ b/hw/xfree86/common/xf86Helper.c @@ -1365,12 +1365,6 @@ xf86GetVerbosity(void) return max(xf86Verbose, xf86LogVerbose); } -int -xf86GetDepth(void) -{ - return xf86Depth; -} - rgb xf86GetWeight(void) { diff --git a/hw/xfree86/doc/ddxDesign.xml b/hw/xfree86/doc/ddxDesign.xml index 9e83cc065..fd8bb961e 100644 --- a/hw/xfree86/doc/ddxDesign.xml +++ b/hw/xfree86/doc/ddxDesign.xml @@ -1859,17 +1859,6 @@ functions: -
- - int xf86GetDepth(); - -
- Returns the command line setting. If not - set on the command line, -1 is returned. -
- -
-
rgb xf86GetWeight();