mi: Remove unused miAllocateGCPrivateIndex
Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
87f5b843a0
commit
63b9d67d7f
4
mi/mi.h
4
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(
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user