xfree86: Remove unused xf86GetServerName()
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
a41ccaa085
commit
60ec8eadc3
|
@ -287,8 +287,6 @@ extern _X_EXPORT Gamma
|
|||
xf86GetGamma(void);
|
||||
extern _X_EXPORT Bool
|
||||
xf86GetFlipPixels(void);
|
||||
extern _X_EXPORT const char *
|
||||
xf86GetServerName(void);
|
||||
extern _X_EXPORT Bool
|
||||
xf86ServerIsExiting(void);
|
||||
extern _X_EXPORT Bool
|
||||
|
|
|
@ -168,7 +168,6 @@ const char *xf86VisualNames[] = {
|
|||
};
|
||||
|
||||
/* Parameters set only from the command line */
|
||||
const char *xf86ServerName = "no-name";
|
||||
Bool xf86fpFlag = FALSE;
|
||||
Bool xf86sFlag = FALSE;
|
||||
Bool xf86bsEnableFlag = FALSE;
|
||||
|
|
|
@ -1404,12 +1404,6 @@ xf86GetFlipPixels(void)
|
|||
return xf86FlipPixels;
|
||||
}
|
||||
|
||||
const char *
|
||||
xf86GetServerName(void)
|
||||
{
|
||||
return xf86ServerName;
|
||||
}
|
||||
|
||||
Bool
|
||||
xf86ServerIsExiting(void)
|
||||
{
|
||||
|
|
|
@ -330,11 +330,6 @@ InitOutput(ScreenInfo * pScreenInfo, int argc, char **argv)
|
|||
config_pre_init();
|
||||
|
||||
if (serverGeneration == 1) {
|
||||
if ((xf86ServerName = strrchr(argv[0], '/')) != 0)
|
||||
xf86ServerName++;
|
||||
else
|
||||
xf86ServerName = argv[0];
|
||||
|
||||
xf86PrintBanner();
|
||||
LogPrintMarkers();
|
||||
if (xf86LogFile) {
|
||||
|
|
|
@ -1905,15 +1905,6 @@ functions:
|
|||
|
||||
</para></blockquote>
|
||||
|
||||
<blockquote><para>
|
||||
<programlisting>
|
||||
const char *xf86GetServerName();
|
||||
</programlisting>
|
||||
<blockquote><para>
|
||||
Returns the name of the X server from the command line.
|
||||
</para></blockquote>
|
||||
|
||||
</para></blockquote>
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
|
|
Loading…
Reference in New Issue
Block a user