]> source.dussan.org Git - tigervnc.git/commitdiff
Make vncHooksComposite() and vncHooksGlyphs() static
authorPierre Ossman <ossman@cendio.se>
Mon, 14 Sep 2015 12:38:29 +0000 (14:38 +0200)
committerPierre Ossman <ossman@cendio.se>
Mon, 14 Sep 2015 12:38:29 +0000 (14:38 +0200)
They should never have been global symbols to begin with.

unix/xserver/hw/vnc/vncHooks.c

index bbf34e7e3a611f8790cefb07743d115a54c6e11d..9ab6febcc1985204d6e918e1ad3024a938ac27e2 100644 (file)
@@ -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)
 {