mi: Remove unused miAllocateGCPrivateIndex

Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Adam Jackson 2010-08-19 18:40:24 -04:00
parent 87f5b843a0
commit 63b9d67d7f
2 changed files with 0 additions and 15 deletions

View File

@ -456,10 +456,6 @@ extern _X_EXPORT Bool miScreenInit(
VisualPtr /*visuals*/
);
extern _X_EXPORT DevPrivateKey miAllocateGCPrivateIndex(
void
);
/* mivaltree.c */
extern _X_EXPORT int miShapedWindowIn(

View File

@ -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