diff options
author | Adam Jackson <ajax@redhat.com> | 2008-10-03 17:13:10 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-10-03 17:51:20 -0400 |
commit | bd0e87c74789bd5447ec731aa2d2d6e05dd54abc (patch) | |
tree | aa18bd4666fd2e9c366a50dd693a7e7b7588fee1 /mi | |
parent | ee5e07bc22f0c3af7a412b6bc430eae6a1dafe16 (diff) |
Remove a bunch of unused API from the mi export list.
Diffstat (limited to 'mi')
-rw-r--r-- | mi/mi.h | 4 | ||||
-rw-r--r-- | mi/mibank.c | 2 | ||||
-rw-r--r-- | mi/mibitblt.c | 4 | ||||
-rw-r--r-- | mi/micmap.c | 2 | ||||
-rw-r--r-- | mi/micursor.c | 2 | ||||
-rw-r--r-- | mi/midash.c | 2 | ||||
-rw-r--r-- | mi/miexpose.c | 4 | ||||
-rw-r--r-- | mi/migc.c | 4 | ||||
-rw-r--r-- | mi/miinitext.c | 2 | ||||
-rw-r--r-- | mi/mipolycon.c | 2 | ||||
-rw-r--r-- | mi/mipushpxl.c | 2 | ||||
-rw-r--r-- | mi/miscrinit.c | 6 | ||||
-rw-r--r-- | mi/mivaltree.c | 2 | ||||
-rw-r--r-- | mi/miwindow.c | 6 | ||||
-rw-r--r-- | mi/mizerline.c | 2 |
15 files changed, 21 insertions, 25 deletions
@@ -423,10 +423,6 @@ extern DevPrivateKey miAllocateGCPrivateIndex( void ); -extern PixmapPtr miGetScreenPixmap( - ScreenPtr pScreen -); - extern void miSetScreenPixmap( PixmapPtr pPix ); diff --git a/mi/mibank.c b/mi/mibank.c index 92288abef..32d52fe13 100644 --- a/mi/mibank.c +++ b/mi/mibank.c @@ -2217,7 +2217,7 @@ miBankNewSerialNumber( } /* This entry modifies the banking interface */ -_X_EXPORT Bool +Bool miModifyBanking( ScreenPtr pScreen, miBankInfoPtr pBankInfo diff --git a/mi/mibitblt.c b/mi/mibitblt.c index 168b91564..99375b660 100644 --- a/mi/mibitblt.c +++ b/mi/mibitblt.c @@ -73,7 +73,7 @@ extern int ffs(int); * set them in the destination with SetSpans * We let SetSpans worry about clipping to the destination. */ -_X_EXPORT RegionPtr +RegionPtr miCopyArea(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable, GCPtr pGC, @@ -549,7 +549,7 @@ miOpqStipDrawable(DrawablePtr pDraw, GCPtr pGC, RegionPtr prgnSrc, * build a source clip * Use the bitmap we've built up as a Stipple for the destination */ -_X_EXPORT RegionPtr +RegionPtr miCopyPlane( DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable, GCPtr pGC, diff --git a/mi/micmap.c b/mi/micmap.c index 33d948179..60dacc315 100644 --- a/mi/micmap.c +++ b/mi/micmap.c @@ -52,7 +52,7 @@ static Bool miDoInitVisuals(VisualPtr *visualp, DepthPtr *depthp, int *nvisualp, int *ndepthp, int *rootDepthp, VisualID *defaultVisp, unsigned long sizes, int bitsPerRGB, int preferredVis); -_X_EXPORT miInitVisualsProcPtr miInitVisualsProc = miDoInitVisuals; +miInitVisualsProcPtr miInitVisualsProc = miDoInitVisuals; _X_EXPORT int miListInstalledColormaps(ScreenPtr pScreen, Colormap *pmaps) diff --git a/mi/micursor.c b/mi/micursor.c index 8b1649039..f6ae8f488 100644 --- a/mi/micursor.c +++ b/mi/micursor.c @@ -54,7 +54,7 @@ SOFTWARE. #include "mi.h" #include "inputstr.h" -_X_EXPORT void +void miRecolorCursor(DeviceIntPtr pDev, ScreenPtr pScr, CursorPtr pCurs, Bool displayed) { diff --git a/mi/midash.c b/mi/midash.c index 40c741b44..ba64d354f 100644 --- a/mi/midash.c +++ b/mi/midash.c @@ -52,7 +52,7 @@ SOFTWARE. #include "mistruct.h" #include "mifpoly.h" -_X_EXPORT void +void miStepDash ( int dist, /* distance to step */ int *pDashIndex, /* current dash */ diff --git a/mi/miexpose.c b/mi/miexpose.c index 9fbcdd737..f8a9e2fe4 100644 --- a/mi/miexpose.c +++ b/mi/miexpose.c @@ -341,7 +341,7 @@ miHandleExposures(DrawablePtr pSrcDrawable, DrawablePtr pDstDrawable, /* send GraphicsExpose events, or a NoExpose event, based on the region */ -_X_EXPORT void +void miSendGraphicsExpose (ClientPtr client, RegionPtr pRgn, XID drawable, int major, int minor) { @@ -514,7 +514,7 @@ miWindowExposures( WindowPtr pWin, RegionPtr prgn, RegionPtr other_exposed) REGION_DESTROY( pWin->drawable.pScreen, exposures); } -_X_EXPORT void +void miPaintWindow(WindowPtr pWin, RegionPtr prgn, int what) { ScreenPtr pScreen = pWin->drawable.pScreen; @@ -58,7 +58,7 @@ miDestroyGC(GCPtr pGC) * create a private op array for a gc */ -_X_EXPORT GCOpsPtr +GCOpsPtr miCreateGCOps(GCOpsPtr prototype) { GCOpsPtr ret; @@ -71,7 +71,7 @@ miCreateGCOps(GCOpsPtr prototype) return ret; } -_X_EXPORT void +void miDestroyGCOps(GCOpsPtr ops) { if (ops->devPrivate.val) diff --git a/mi/miinitext.c b/mi/miinitext.c index 6516f43db..cea89843d 100644 --- a/mi/miinitext.c +++ b/mi/miinitext.c @@ -584,7 +584,7 @@ InitVisualWrap() (*__miHookInitVisualsFunction)(&miInitVisualsProc); } -_X_EXPORT void +void miHookInitVisuals(void (**old)(miInitVisualsProcPtr *), void (*new)(miInitVisualsProcPtr *)) { diff --git a/mi/mipolycon.c b/mi/mipolycon.c index 085bed3c6..6e3889621 100644 --- a/mi/mipolycon.c +++ b/mi/mipolycon.c @@ -71,7 +71,7 @@ static int getPolyYBounds(DDXPointPtr pts, int n, int *by, int *ty); * For a derivation of the algorithm, see the author of * this code. */ -_X_EXPORT Bool +Bool miFillConvexPoly( DrawablePtr dst, GCPtr pgc, diff --git a/mi/mipushpxl.c b/mi/mipushpxl.c index 87ca1445e..4b9789047 100644 --- a/mi/mipushpxl.c +++ b/mi/mipushpxl.c @@ -92,7 +92,7 @@ bitsizeof(int) padding and sacnline unit == bitsizeof(int).) * in order to have both (MSB_FIRST and LSB_FIRST) versions of this * in the server, we need to rename one of them */ -_X_EXPORT void +void miPushPixels(GCPtr pGC, PixmapPtr pBitMap, DrawablePtr pDrawable, int dx, int dy, int xOrg, int yOrg) { diff --git a/mi/miscrinit.c b/mi/miscrinit.c index df969939e..2008a6899 100644 --- a/mi/miscrinit.c +++ b/mi/miscrinit.c @@ -283,7 +283,7 @@ miScreenInit( static int privateKeyIndex; static DevPrivateKey privateKey = &privateKeyIndex; -_X_EXPORT DevPrivateKey +DevPrivateKey miAllocateGCPrivateIndex() { return privateKey; @@ -298,13 +298,13 @@ miSetZeroLineBias(ScreenPtr pScreen, unsigned int bias) dixSetPrivate(&pScreen->devPrivates, miZeroLineScreenKey, (pointer)bias); } -_X_EXPORT PixmapPtr +PixmapPtr miGetScreenPixmap(ScreenPtr pScreen) { return (PixmapPtr)(pScreen->devPrivate); } -_X_EXPORT void +void miSetScreenPixmap(PixmapPtr pPix) { if (pPix) diff --git a/mi/mivaltree.c b/mi/mivaltree.c index 92dcffeea..2585422bc 100644 --- a/mi/mivaltree.c +++ b/mi/mivaltree.c @@ -106,7 +106,7 @@ Equipment Corporation. /* * Compute the visibility of a shaped window */ -_X_EXPORT int +int miShapedWindowIn (ScreenPtr pScreen, RegionPtr universe, RegionPtr bounding, BoxPtr rect, int x, int y) { diff --git a/mi/miwindow.c b/mi/miwindow.c index 8c4b6d08e..498c8a656 100644 --- a/mi/miwindow.c +++ b/mi/miwindow.c @@ -223,7 +223,7 @@ miMarkOverlappedWindows(WindowPtr pWin, WindowPtr pFirst, WindowPtr *ppLayerWin) * regions, translate the regions, restore any backing store, * and then send any regions still exposed to the client *****/ -_X_EXPORT void +void miHandleValidateExposures(WindowPtr pWin) { WindowPtr pChild; @@ -694,7 +694,7 @@ miGetLayerWindow(WindowPtr pWin) * and send appropriate exposure events */ -_X_EXPORT void +void miSetShape(WindowPtr pWin) { Bool WasViewable = (Bool)(pWin->viewable); @@ -750,7 +750,7 @@ miSetShape(WindowPtr pWin) /* Keeps the same inside(!) origin */ -_X_EXPORT void +void miChangeBorderWidth(WindowPtr pWin, unsigned int width) { int oldwidth; diff --git a/mi/mizerline.c b/mi/mizerline.c index e1e8e6e69..a415d73da 100644 --- a/mi/mizerline.c +++ b/mi/mizerline.c @@ -363,7 +363,7 @@ miZeroLine( xfree(pspanInit); } -_X_EXPORT void +void miZeroDashLine( DrawablePtr dst, GCPtr pgc, |