From 490e9eb19c8b7b2707ae6e06c47519cf9fb536be Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 20 May 2025 19:16:21 +0200 Subject: [PATCH] xfree86: xf86.h: drop unused xf86GetWeight() 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 2bba1295f..5dc095674 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 rgb -xf86GetWeight(void); extern _X_EXPORT Gamma xf86GetGamma(void); extern _X_EXPORT Bool diff --git a/hw/xfree86/common/xf86Helper.c b/hw/xfree86/common/xf86Helper.c index 472932a3d..74c94e395 100644 --- a/hw/xfree86/common/xf86Helper.c +++ b/hw/xfree86/common/xf86Helper.c @@ -1365,12 +1365,6 @@ xf86GetVerbosity(void) return max(xf86Verbose, xf86LogVerbose); } -rgb -xf86GetWeight(void) -{ - return xf86Weight; -} - Gamma xf86GetGamma(void) { diff --git a/hw/xfree86/doc/ddxDesign.xml b/hw/xfree86/doc/ddxDesign.xml index fd8bb961e..19830bb0b 100644 --- a/hw/xfree86/doc/ddxDesign.xml +++ b/hw/xfree86/doc/ddxDesign.xml @@ -1859,17 +1859,6 @@ functions: -
- - rgb xf86GetWeight(); - -
- Returns the command line setting. If not - set on the command line, {0, 0, 0} is returned. -
- -
-
Gamma xf86GetGamma();