From 587fd5c7089962c363aa2f9ffa6ba0dab32c1650 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Mon, 5 May 2025 19:32:52 +0200 Subject: [PATCH] fb: pict: unexport fbAddTriangles() Not used by drivers, so no need to keep it exported. Signed-off-by: Enrico Weigelt, metux IT consult --- fb/fbpict.h | 4 ---- fb/fbpict_priv.h | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/fb/fbpict.h b/fb/fbpict.h index e64035d1d..ad9657e56 100644 --- a/fb/fbpict.h +++ b/fb/fbpict.h @@ -47,10 +47,6 @@ extern _X_EXPORT void fbAddTraps(PicturePtr pPicture, INT16 xOff, INT16 yOff, int ntrap, xTrap * traps); -extern _X_EXPORT void -fbAddTriangles(PicturePtr pPicture, - INT16 xOff, INT16 yOff, int ntri, xTriangle * tris); - extern _X_EXPORT void fbTrapezoids(CARD8 op, PicturePtr pSrc, diff --git a/fb/fbpict_priv.h b/fb/fbpict_priv.h index 56129bba9..78e254d98 100644 --- a/fb/fbpict_priv.h +++ b/fb/fbpict_priv.h @@ -13,4 +13,7 @@ void fbRasterizeTrapezoid(PicturePtr alpha, xTrapezoid *trap, int x_off, int y_off); +void fbAddTriangles(PicturePtr pPicture, INT16 xOff, INT16 yOff, + int ntri, xTriangle * tris); + #endif /* XORG_FBPICT_PRIV_H */