From 4791f8e2ba9a0e318b7f13c83618ece036dd53ed Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 3 Oct 2008 17:23:58 -0400 Subject: staticize mi{G,S}etScreenPixmap --- mi/miscrinit.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'mi') diff --git a/mi/miscrinit.c b/mi/miscrinit.c index 2008a6899..28d331653 100644 --- a/mi/miscrinit.c +++ b/mi/miscrinit.c @@ -189,6 +189,19 @@ miScreenDevPrivateInit(ScreenPtr pScreen, int width, pointer pbits) return TRUE; } +static PixmapPtr +miGetScreenPixmap(ScreenPtr pScreen) +{ + return (PixmapPtr)(pScreen->devPrivate); +} + +static void +miSetScreenPixmap(PixmapPtr pPix) +{ + if (pPix) + pPix->drawable.pScreen->devPrivate = (pointer)pPix; +} + _X_EXPORT Bool miScreenInit( ScreenPtr pScreen, @@ -297,16 +310,3 @@ miSetZeroLineBias(ScreenPtr pScreen, unsigned int bias) { dixSetPrivate(&pScreen->devPrivates, miZeroLineScreenKey, (pointer)bias); } - -PixmapPtr -miGetScreenPixmap(ScreenPtr pScreen) -{ - return (PixmapPtr)(pScreen->devPrivate); -} - -void -miSetScreenPixmap(PixmapPtr pPix) -{ - if (pPix) - pPix->drawable.pScreen->devPrivate = (pointer)pPix; -} -- cgit v1.2.3