From: Pierre Ossman Date: Mon, 14 Sep 2015 12:38:29 +0000 (+0200) Subject: Make vncHooksComposite() and vncHooksGlyphs() static X-Git-Tag: v1.5.90~39 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1ba66612eb20598542144aafc4913028c2a65224;p=tigervnc.git Make vncHooksComposite() and vncHooksGlyphs() static They should never have been global symbols to begin with. --- 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) {