Prepare for array-index based devPrivates.

TODO: static indices can be made just an int; some indices
can be combined.
This commit is contained in:
Tomas Carnecky
2008-08-28 18:05:40 -04:00
committed by Eamon Walsh
parent ec7907f8fa
commit ebea78cdba
78 changed files with 287 additions and 146 deletions

View File

@@ -211,7 +211,8 @@ int (*SProcRenderVector[RenderNumberRequests])(ClientPtr) = {
};
int RenderErrBase;
DevPrivateKey RenderClientPrivateKey;
static int RenderClientPrivateKeyIndex;
DevPrivateKey RenderClientPrivateKey = &RenderClientPrivateKeyIndex;
typedef struct _RenderClient {
int major_version;