diff --git a/dix/dispatch.c b/dix/dispatch.c index 0e5aced1a..17f308cf5 100644 --- a/dix/dispatch.c +++ b/dix/dispatch.c @@ -238,7 +238,6 @@ long SmartLastPrint; #endif void Dispatch(void); -void InitProcVectors(void); static int SmartScheduleClient (int *clientReady, int nready) @@ -3387,25 +3386,6 @@ int ProcNoOperation(ClientPtr client) return Success; } -void -InitProcVectors(void) -{ - int i; - for (i = 0; i<256; i++) - { - if(!ProcVector[i]) - { - ProcVector[i] = SwappedProcVector[i] = ProcBadRequest; - ReplySwapVector[i] = ReplyNotSwappd; - } - } - for(i = LASTEvent; i < 128; i++) - { - EventSwapVector[i] = NotImplemented; - } - -} - /********************** * CloseDownClient * diff --git a/dix/main.c b/dix/main.c index 47a932f15..692bec1c5 100644 --- a/dix/main.c +++ b/dix/main.c @@ -108,7 +108,6 @@ Equipment Corporation. #include "panoramiXsrv.h" #else #include "dixevents.h" /* InitEvents() */ -#include "dispatch.h" /* InitProcVectors() */ #endif #ifdef DPMSExtension @@ -118,8 +117,6 @@ Equipment Corporation. extern void Dispatch(void); -extern void InitProcVectors(void); - #ifdef XQUARTZ #include @@ -171,7 +168,6 @@ int main(int argc, char *argv[], char *envp[]) if(serverGeneration == 1) { CreateWellKnownSockets(); - InitProcVectors(); for (i=1; i