From 63097cb5c972f3921a7e222c7d3ccd56ec14ae6b Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 5 May 2025 20:29:12 +0200 Subject: [PATCH] fb: pict: make fbGlyphs() static Not used anywhere outside fbpict.c, so can become static. Signed-off-by: Enrico Weigelt, metux IT consult --- fb/fbpict.c | 2 +- fb/fbpict.h | 10 ---------- fb/wfbrename.h | 1 - 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/fb/fbpict.c b/fb/fbpict.c index 1eeaccf5d..9980f973f 100644 --- a/fb/fbpict.c +++ b/fb/fbpict.c @@ -89,7 +89,7 @@ fbUnrealizeGlyph(ScreenPtr pScreen, pixman_glyph_cache_remove (glyphCache, pGlyph, NULL); } -void +static void fbGlyphs(CARD8 op, PicturePtr pSrc, PicturePtr pDst, diff --git a/fb/fbpict.h b/fb/fbpict.h index 93ee9b59d..eb627c15f 100644 --- a/fb/fbpict.h +++ b/fb/fbpict.h @@ -47,14 +47,4 @@ extern _X_EXPORT void fbAddTraps(PicturePtr pPicture, INT16 xOff, INT16 yOff, int ntrap, xTrap * traps); -extern _X_EXPORT void -fbGlyphs(CARD8 op, - PicturePtr pSrc, - PicturePtr pDst, - PictFormatPtr maskFormat, - INT16 xSrc, - INT16 ySrc, int nlist, - GlyphListPtr list, - GlyphPtr *glyphs); - #endif /* _FBPICT_H_ */ diff --git a/fb/wfbrename.h b/fb/wfbrename.h index 4977f2067..1c2a1793f 100644 --- a/fb/wfbrename.h +++ b/fb/wfbrename.h @@ -59,7 +59,6 @@ #define fbGlyph16 wfbGlyph16 #define fbGlyph32 wfbGlyph32 #define fbGlyph8 wfbGlyph8 -#define fbGlyphs wfbGlyphs #define fbImageGlyphBlt wfbImageGlyphBlt #define fbIn wfbIn #define fbInitializeColormap wfbInitializeColormap