diff options
author | Tomas Carnecky <tom@dbservice.com> | 2008-08-28 18:05:40 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2008-08-28 18:05:40 -0400 |
commit | ebea78cdba0ff14a397239ee1936bd254c181e1b (patch) | |
tree | 3937720753cc112aaf9eb71ba0dcb39674362b98 /damageext/damageext.c | |
parent | ec7907f8fa04dcff2649cc4846975844314f737e (diff) |
Prepare for array-index based devPrivates.
TODO: static indices can be made just an int; some indices
can be combined.
Diffstat (limited to 'damageext/damageext.c')
-rwxr-xr-x | damageext/damageext.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/damageext/damageext.c b/damageext/damageext.c index 7dd328aba..4d91580ca 100755 --- a/damageext/damageext.c +++ b/damageext/damageext.c @@ -29,10 +29,12 @@ static unsigned char DamageReqCode; static int DamageEventBase; static int DamageErrorBase; -static DevPrivateKey DamageClientPrivateKey = &DamageClientPrivateKey; static RESTYPE DamageExtType; static RESTYPE DamageExtWinType; +static int DamageClientPrivateKeyIndex; +static DevPrivateKey DamageClientPrivateKey = &DamageClientPrivateKeyIndex; + /* Version of the damage extension supported by the server, as opposed to the * DAMAGE_* defines from damageproto for what version the proto header * supports. |