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();