dix: InitAndStartDevices doesn't need a window parameter.

Leftover from the old pointer-keyboard pairing code, obsolete and gone now.
This commit is contained in:
Peter Hutterer 2008-05-14 15:29:28 +09:30
parent da728f2127
commit 00db0f35ac
3 changed files with 3 additions and 5 deletions

View File

@ -539,7 +539,7 @@ InitCoreDevices(void)
* @return Success or error code on failure.
*/
int
InitAndStartDevices(WindowPtr root)
InitAndStartDevices()
{
DeviceIntPtr dev, next;

View File

@ -412,7 +412,7 @@ int main(int argc, char *argv[], char *envp[])
InitCoreDevices();
InitInput(argc, argv);
if (InitAndStartDevices(WindowTable[0]) != Success)
if (InitAndStartDevices() != Success)
FatalError("failed to initialize core devices");
dixSaveScreens(serverClient, SCREEN_SAVER_FORCER, ScreenSaverReset);

View File

@ -231,9 +231,7 @@ extern Bool ActivateDevice(
extern Bool DisableDevice(
DeviceIntPtr /*device*/);
extern int InitAndStartDevices(
WindowPtr /*root*/);
extern int InitAndStartDevices(void);
extern void CloseDownDevices(void);