summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2010-08-19 18:40:24 -0400
committerAdam Jackson <ajax@redhat.com>2010-11-30 13:46:09 -0500
commit63b9d67d7f4f1fa108370c619e1d0d06baedbd4c (patch)
tree46dce4473a01a6b88763a57a55f9db1b7ca823be
parent87f5b843a08fd92b4b31c04e3e6d947b8bc0d160 (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.h4
-rw-r--r--mi/miscrinit.c11
2 files changed, 0 insertions, 15 deletions
diff --git a/mi/mi.h b/mi/mi.h
index 57837c450..c186940ff 100644
--- a/mi/mi.h
+++ b/mi/mi.h
@@ -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