diff options
author | Adam Jackson <ajax@redhat.com> | 2010-08-19 18:40:24 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2010-11-30 13:46:09 -0500 |
commit | 63b9d67d7f4f1fa108370c619e1d0d06baedbd4c (patch) | |
tree | 46dce4473a01a6b88763a57a55f9db1b7ca823be | |
parent | 87f5b843a08fd92b4b31c04e3e6d947b8bc0d160 (diff) |
mi: Remove unused miAllocateGCPrivateIndex
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r-- | mi/mi.h | 4 | ||||
-rw-r--r-- | mi/miscrinit.c | 11 |
2 files changed, 0 insertions, 15 deletions
@@ -456,10 +456,6 @@ extern _X_EXPORT Bool miScreenInit( VisualPtr /*visuals*/ ); -extern _X_EXPORT DevPrivateKey miAllocateGCPrivateIndex( - void -); - /* mivaltree.c */ extern _X_EXPORT int miShapedWindowIn( diff --git a/mi/miscrinit.c b/mi/miscrinit.c index d349206de..fb01c6810 100644 --- a/mi/miscrinit.c +++ b/mi/miscrinit.c @@ -283,17 +283,6 @@ miScreenInit( return miScreenDevPrivateInit(pScreen, width, pbits); } -static DevPrivateKeyRec privateKeyRec; -#define privateKey (&privateKeyRec) - -DevPrivateKey -miAllocateGCPrivateIndex(void) -{ - if (!dixRegisterPrivateKey(&privateKeyRec, PRIVATE_GC, 0)) - return NULL; - return privateKey; -} - DevPrivateKeyRec miZeroLineScreenKeyRec; void |