xfree86: xf86.h: drop unused xf86GetDepth()

Not used anywhere, so no need to keep it anymore.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2025-05-20 19:14:57 +02:00
parent ec35a0510c
commit 872afc6396
3 changed files with 0 additions and 19 deletions

View File

@ -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

View File

@ -1365,12 +1365,6 @@ xf86GetVerbosity(void)
return max(xf86Verbose, xf86LogVerbose);
}
int
xf86GetDepth(void)
{
return xf86Depth;
}
rgb
xf86GetWeight(void)
{

View File

@ -1859,17 +1859,6 @@ functions:
</para></blockquote>
<blockquote><para>
<programlisting>
int xf86GetDepth();
</programlisting>
<blockquote><para>
Returns the <option>-depth</option> command line setting. If not
set on the command line, <constant>-1</constant> is returned.
</para></blockquote>
</para></blockquote>
<blockquote><para>
<programlisting>
rgb xf86GetWeight();