xres: Silence -Wunused-function warnings when building !COMPOSITE or !RENDER
xres.c:422:1: warning: unused function 'ResFindCompositeClientWindowPixmaps' [-Wunused-function,Unused Entity Issue] ResFindCompositeClientWindowPixmaps (void *value, XID id, void *cdata) ^ Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
parent
85eb90ea45
commit
aa73d587fe
|
@ -410,21 +410,21 @@ ResFindGCPixmaps(void *value, XID id, void *cdata)
|
|||
*bytes += ResGetApproxPixmapBytes(pGC->tile.pixmap);
|
||||
}
|
||||
|
||||
#ifdef RENDER
|
||||
static void
|
||||
ResFindPicturePixmaps(void *value, XID id, void *cdata)
|
||||
{
|
||||
#ifdef RENDER
|
||||
ResFindResourcePixmaps(value, id, PictureType, cdata);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef COMPOSITE
|
||||
static void
|
||||
ResFindCompositeClientWindowPixmaps (void *value, XID id, void *cdata)
|
||||
{
|
||||
#ifdef COMPOSITE
|
||||
ResFindResourcePixmaps(value, id, CompositeClientWindowType, cdata);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
static int
|
||||
ProcXResQueryClientPixmapBytes(ClientPtr client)
|
||||
|
|
Loading…
Reference in New Issue
Block a user