From 1ba66612eb20598542144aafc4913028c2a65224 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 14 Sep 2015 14:38:29 +0200 Subject: [PATCH] Make vncHooksComposite() and vncHooksGlyphs() static They should never have been global symbols to begin with. --- unix/xserver/hw/vnc/vncHooks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unix/xserver/hw/vnc/vncHooks.c b/unix/xserver/hw/vnc/vncHooks.c index bbf34e7e..9ab6febc 100644 --- a/unix/xserver/hw/vnc/vncHooks.c +++ b/unix/xserver/hw/vnc/vncHooks.c @@ -715,7 +715,7 @@ static void vncHooksBlockHandler(ScreenPtr pScreen_, void * pTimeout, // Composite - The core of XRENDER -void vncHooksComposite(CARD8 op, PicturePtr pSrc, PicturePtr pMask, +static void vncHooksComposite(CARD8 op, PicturePtr pSrc, PicturePtr pMask, PicturePtr pDst, INT16 xSrc, INT16 ySrc, INT16 xMask, INT16 yMask, INT16 xDst, INT16 yDst, CARD16 width, CARD16 height) { @@ -801,7 +801,7 @@ GlyphsToRegion(ScreenPtr pScreen, int nlist, GlyphListPtr list, GlyphPtr *glyphs // Glyphs - Glyph specific version of Composite (caches and whatnot) -void vncHooksGlyphs(CARD8 op, PicturePtr pSrc, PicturePtr pDst, +static void vncHooksGlyphs(CARD8 op, PicturePtr pSrc, PicturePtr pDst, PictFormatPtr maskFormat, INT16 xSrc, INT16 ySrc, int nlists, GlyphListPtr lists, GlyphPtr * glyphs) { -- 2.39.5