xfree86: xf86.h: drop unused xf86IsScreenPrimary()
Not used anywhere, so no need to keep it anymore. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
3b02813ba9
commit
585025c395
|
@ -279,8 +279,6 @@ xf86ConfigFbEntity(ScrnInfoPtr pScrn, int scrnFlag,
|
||||||
int entityIndex, EntityProc init,
|
int entityIndex, EntityProc init,
|
||||||
EntityProc enter, EntityProc leave, void *private);
|
EntityProc enter, EntityProc leave, void *private);
|
||||||
|
|
||||||
extern _X_EXPORT Bool
|
|
||||||
xf86IsScreenPrimary(ScrnInfoPtr pScrn);
|
|
||||||
extern _X_EXPORT Bool
|
extern _X_EXPORT Bool
|
||||||
xf86IsUnblank(int mode);
|
xf86IsUnblank(int mode);
|
||||||
|
|
||||||
|
|
|
@ -1612,18 +1612,6 @@ xf86ConfigFbEntity(ScrnInfoPtr pScrn, int scrnFlag, int entityIndex,
|
||||||
return pScrn;
|
return pScrn;
|
||||||
}
|
}
|
||||||
|
|
||||||
Bool
|
|
||||||
xf86IsScreenPrimary(ScrnInfoPtr pScrn)
|
|
||||||
{
|
|
||||||
int i;
|
|
||||||
|
|
||||||
for (i = 0; i < pScrn->numEntities; i++) {
|
|
||||||
if (xf86IsEntityPrimary(i))
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
|
|
||||||
Bool
|
Bool
|
||||||
xf86IsUnblank(int mode)
|
xf86IsUnblank(int mode)
|
||||||
{
|
{
|
||||||
|
|
|
@ -2600,18 +2600,6 @@ Several functions are provided to simplify resource registration:
|
||||||
|
|
||||||
</blockquote></para></blockquote>
|
</blockquote></para></blockquote>
|
||||||
|
|
||||||
<blockquote><para>
|
|
||||||
<programlisting>
|
|
||||||
Bool xf86IsScreenPrimary(ScrnInfoPtr pScrn);
|
|
||||||
</programlisting>
|
|
||||||
<blockquote><para>
|
|
||||||
This function returns <constant>TRUE</constant> if the primary entity
|
|
||||||
is registered with the screen referenced by
|
|
||||||
<parameter>pScrn</parameter>.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
</blockquote></para></blockquote>
|
|
||||||
|
|
||||||
<blockquote><para>
|
<blockquote><para>
|
||||||
<programlisting>
|
<programlisting>
|
||||||
pciVideoPtr xf86GetPciInfoForEntity(int entityIndex);
|
pciVideoPtr xf86GetPciInfoForEntity(int entityIndex);
|
||||||
|
|
Loading…
Reference in New Issue