mi: Remove unused miAllocateGCPrivateIndex
Reviewed-by: Matt Turner <mattst88@gmail.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
4
mi/mi.h
4
mi/mi.h
@@ -456,10 +456,6 @@ extern _X_EXPORT Bool miScreenInit(
|
|||||||
VisualPtr /*visuals*/
|
VisualPtr /*visuals*/
|
||||||
);
|
);
|
||||||
|
|
||||||
extern _X_EXPORT DevPrivateKey miAllocateGCPrivateIndex(
|
|
||||||
void
|
|
||||||
);
|
|
||||||
|
|
||||||
/* mivaltree.c */
|
/* mivaltree.c */
|
||||||
|
|
||||||
extern _X_EXPORT int miShapedWindowIn(
|
extern _X_EXPORT int miShapedWindowIn(
|
||||||
|
|||||||
@@ -283,17 +283,6 @@ miScreenInit(
|
|||||||
return miScreenDevPrivateInit(pScreen, width, pbits);
|
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;
|
DevPrivateKeyRec miZeroLineScreenKeyRec;
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user