diff options
-rw-r--r-- | dix/dispatch.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/dix/dispatch.c b/dix/dispatch.c index aa67dc43e..7c4d539fa 100644 --- a/dix/dispatch.c +++ b/dix/dispatch.c @@ -3612,8 +3612,13 @@ CloseDownRetainedResources() } } +extern int clientPrivateLen; +extern unsigned *clientPrivateSizes; +extern unsigned totalClientSize; + void InitClient(ClientPtr client, int i, pointer ospriv) { + bzero(client, totalClientSize); client->index = i; client->sequence = 0; client->clientAsMask = ((Mask)i) << CLIENTOFFSET; @@ -3664,10 +3669,6 @@ void InitClient(ClientPtr client, int i, pointer ospriv) #endif } -extern int clientPrivateLen; -extern unsigned *clientPrivateSizes; -extern unsigned totalClientSize; - int InitClientPrivates(ClientPtr client) { |