drop xprint remnants: InitGlobals
This commit is contained in:
parent
641ce9c706
commit
255142b61e
|
@ -246,7 +246,6 @@ int main(int argc, char *argv[], char *envp[])
|
|||
|
||||
display = "0";
|
||||
|
||||
InitGlobals();
|
||||
InitRegions();
|
||||
|
||||
CheckUserParameters(argc, argv, envp);
|
||||
|
|
|
@ -873,13 +873,6 @@ void OsVendorFatalError(void)
|
|||
{
|
||||
}
|
||||
|
||||
/** This funciton is called by InitGlobals from Xserver/os/utils.c to
|
||||
* initialize any ddx specific globals at a very early point in the
|
||||
* server startup. */
|
||||
void ddxInitGlobals(void)
|
||||
{
|
||||
}
|
||||
|
||||
/** Process our command line arguments. */
|
||||
int ddxProcessArgument(int argc, char *argv[], int i)
|
||||
{
|
||||
|
|
|
@ -1412,5 +1412,3 @@ DPMSSupported (void)
|
|||
}
|
||||
#endif
|
||||
|
||||
void ddxInitGlobals(void) { /* THANK YOU XPRINT */ }
|
||||
|
||||
|
|
|
@ -266,11 +266,6 @@ ddxUseMsg()
|
|||
#endif
|
||||
}
|
||||
|
||||
/* ddxInitGlobals - called by |InitGlobals| from os/util.c */
|
||||
void ddxInitGlobals(void)
|
||||
{
|
||||
}
|
||||
|
||||
int
|
||||
ddxProcessArgument(int argc, char *argv[], int i)
|
||||
{
|
||||
|
|
|
@ -1696,11 +1696,6 @@ ddxProcessArgument(int argc, char **argv, int i)
|
|||
return xf86ProcessArgument(argc, argv, i);
|
||||
}
|
||||
|
||||
/* ddxInitGlobals - called by |InitGlobals| from os/util.c */
|
||||
void ddxInitGlobals(void)
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
* ddxUseMsg --
|
||||
* Print out correct use of device dependent commandline options.
|
||||
|
|
|
@ -166,7 +166,3 @@ OsVendorInit (void)
|
|||
{
|
||||
xglxOsVendorInit ();
|
||||
}
|
||||
|
||||
void ddxInitGlobals()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -330,7 +330,3 @@ OsVendorInit (void)
|
|||
if (xglEnsureDDXModule ())
|
||||
(*__ddxFunc.osVendorInit) ();
|
||||
}
|
||||
|
||||
void ddxInitGlobals()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -49,16 +49,6 @@ int xnestNumScreens = 0;
|
|||
Bool xnestDoDirectColormaps = False;
|
||||
Window xnestParentWindow = 0;
|
||||
|
||||
/* ddxInitGlobals - called by |InitGlobals| from os/util.c */
|
||||
void ddxInitGlobals(void)
|
||||
{
|
||||
#ifdef COMPOSITE
|
||||
/* XXX terrible hack */
|
||||
extern Bool noCompositeExtension;
|
||||
noCompositeExtension = TRUE;
|
||||
#endif
|
||||
}
|
||||
|
||||
int
|
||||
ddxProcessArgument (int argc, char *argv[], int i)
|
||||
{
|
||||
|
|
|
@ -677,15 +677,6 @@ void OsVendorInit(void)
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
* ddxInitGlobals
|
||||
* Called by InitGlobals() from os/util.c.
|
||||
*/
|
||||
void ddxInitGlobals(void)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* ddxProcessArgument
|
||||
* Process device-dependent command line args. Returns 0 if argument is
|
||||
|
|
|
@ -920,11 +920,6 @@ ddxUseMsg(void)
|
|||
MB_ICONINFORMATION);
|
||||
}
|
||||
|
||||
/* ddxInitGlobals - called by |InitGlobals| from os/util.c */
|
||||
void ddxInitGlobals(void)
|
||||
{
|
||||
}
|
||||
|
||||
/* See Porting Layer Definition - p. 20 */
|
||||
/*
|
||||
* Do any global initialization, then initialize each screen.
|
||||
|
|
|
@ -212,8 +212,6 @@ extern SIGVAL GiveUp(int /*sig*/);
|
|||
|
||||
extern void UseMsg(void);
|
||||
|
||||
extern void InitGlobals(void);
|
||||
|
||||
extern void ProcessCommandLine(int /*argc*/, char* /*argv*/[]);
|
||||
|
||||
extern int set_font_authorizations(
|
||||
|
@ -411,8 +409,6 @@ extern XID GenerateAuthorization(
|
|||
extern void ExpandCommandLine(int * /*pargc*/, char *** /*pargv*/);
|
||||
#endif
|
||||
|
||||
extern void ddxInitGlobals(void);
|
||||
|
||||
extern int ddxProcessArgument(int /*argc*/, char * /*argv*/ [], int /*i*/);
|
||||
|
||||
extern void ddxUseMsg(void);
|
||||
|
|
|
@ -59,6 +59,7 @@ SOFTWARE.
|
|||
|
||||
#ifdef HAVE_XNEST_CONFIG_H
|
||||
#include <xnest-config.h>
|
||||
#undef COMPOSITE
|
||||
#undef DPMSExtension
|
||||
#endif
|
||||
|
||||
|
|
11
os/utils.c
11
os/utils.c
|
@ -659,17 +659,6 @@ VerifyDisplayName(const char *d)
|
|||
return( 1 );
|
||||
}
|
||||
|
||||
/*
|
||||
* This function is responsible for doing initalisation of any global
|
||||
* variables at an very early point of server startup (even before
|
||||
* |ProcessCommandLine()|.
|
||||
*/
|
||||
void InitGlobals(void)
|
||||
{
|
||||
ddxInitGlobals();
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* This function parses the command line. Handles device-independent fields
|
||||
* and allows ddx to handle additional fields. It is not allowed to modify
|
||||
|
|
Loading…
Reference in New Issue