xfree86: xf86.h: drop unused xf86GetWeight()

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:16:21 +02:00
parent 872afc6396
commit 490e9eb19c
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 rgb
xf86GetWeight(void);
extern _X_EXPORT Gamma
xf86GetGamma(void);
extern _X_EXPORT Bool

View File

@ -1365,12 +1365,6 @@ xf86GetVerbosity(void)
return max(xf86Verbose, xf86LogVerbose);
}
rgb
xf86GetWeight(void)
{
return xf86Weight;
}
Gamma
xf86GetGamma(void)
{

View File

@ -1859,17 +1859,6 @@ functions:
</para></blockquote>
<blockquote><para>
<programlisting>
rgb xf86GetWeight();
</programlisting>
<blockquote><para>
Returns the <option>-weight</option> command line setting. If not
set on the command line, <literal remap="tt">{0, 0, 0}</literal> is returned.
</para></blockquote>
</para></blockquote>
<blockquote><para>
<programlisting>
Gamma xf86GetGamma();