Commit bd0e87c7 authored by Adam Jackson's avatar Adam Jackson 🎧

Remove a bunch of unused API from the mi export list.

parent ee5e07bc
......@@ -84,8 +84,6 @@
extern miPointerSpriteFuncRec miSpritePointerFuncs;
_X_HIDDEN void *miLookupTab[] = {
SYMFUNC(miAllocateGCPrivateIndex)
SYMFUNC(miChangeBorderWidth)
SYMFUNC(miChangeClip)
SYMFUNC(miChangeGC)
SYMFUNC(miClearDrawable)
......@@ -93,29 +91,19 @@ _X_HIDDEN void *miLookupTab[] = {
SYMFUNC(miClearVisualTypes)
SYMFUNC(miClipSpans)
SYMFUNC(miComputeCompositeClip)
SYMFUNC(miCopyArea)
SYMFUNC(miCopyClip)
SYMFUNC(miCopyGC)
SYMFUNC(miCopyPlane)
SYMFUNC(miCreateDefColormap)
SYMFUNC(miCreateGCOps)
SYMFUNC(miCreateScreenResources)
SYMFUNC(miDCInitialize)
SYMFUNC(miDestroyClip)
SYMFUNC(miDestroyGC)
SYMFUNC(miDestroyGCOps)
SYMFUNC(miExpandDirectColors)
SYMFUNC(miFillArcSetup)
SYMFUNC(miFillArcSliceSetup)
SYMFUNC(miFillConvexPoly)
SYMFUNC(miFillPolygon)
SYMFUNC(miFindMaxBand)
SYMFUNC(miGetDefaultVisualMask)
SYMFUNC(miGetImage)
SYMFUNC(miGetScreenPixmap)
SYMFUNC(miHandleExposures)
SYMFUNC(miHandleValidateExposures)
SYMFUNC(miHookInitVisuals)
SYMFUNC(miImageGlyphBlt)
SYMFUNC(miImageText16)
SYMFUNC(miImageText8)
......@@ -128,7 +116,6 @@ _X_HIDDEN void *miLookupTab[] = {
SYMFUNC(miIntersect)
SYMFUNC(miInverse)
SYMFUNC(miListInstalledColormaps)
SYMFUNC(miModifyBanking)
SYMFUNC(miModifyPixmapHeader)
SYMFUNC(miOverlayCollectUnderlayRegions)
SYMFUNC(miOverlayComputeCompositeClip)
......@@ -136,7 +123,6 @@ _X_HIDDEN void *miLookupTab[] = {
SYMFUNC(miOverlayGetPrivateClips)
SYMFUNC(miOverlaySetRootClip)
SYMFUNC(miOverlaySetTransFunction)
SYMFUNC(miPaintWindow)
SYMFUNC(miPointInRegion)
SYMFUNC(miPointerAbsoluteCursor)
SYMFUNC(miPointerCurrentScreen)
......@@ -153,9 +139,6 @@ _X_HIDDEN void *miLookupTab[] = {
SYMFUNC(miPolySegment)
SYMFUNC(miPolyText16)
SYMFUNC(miPolyText8)
SYMFUNC(miPushPixels)
SYMFUNC(miPutImage)
SYMFUNC(miRecolorCursor)
SYMFUNC(miRectAlloc)
SYMFUNC(miRectIn)
SYMFUNC(miRectsToRegion)
......@@ -176,15 +159,10 @@ _X_HIDDEN void *miLookupTab[] = {
SYMFUNC(miRoundJoinClip)
SYMFUNC(miScreenInit)
SYMFUNC(miSegregateChildren)
SYMFUNC(miSendGraphicsExpose)
SYMFUNC(miSetPixmapDepths)
SYMFUNC(miSetScreenPixmap)
SYMFUNC(miSetShape)
SYMFUNC(miSetVisualTypes)
SYMFUNC(miSetVisualTypesAndMasks)
SYMFUNC(miSetZeroLineBias)
SYMFUNC(miShapedWindowIn)
SYMFUNC(miStepDash)
SYMFUNC(miSubtract)
SYMFUNC(miTranslateRegion)
SYMFUNC(miUninstallColormap)
......@@ -194,12 +172,10 @@ _X_HIDDEN void *miLookupTab[] = {
SYMFUNC(miWindowExposures)
SYMFUNC(miZeroArcSetup)
SYMFUNC(miZeroClipLine)
SYMFUNC(miZeroDashLine)
SYMFUNC(miZeroLine)
SYMFUNC(miZeroPolyArc)
SYMVAR(miEmptyBox)
SYMVAR(miEmptyData)
SYMVAR(miInitVisualsProc)
SYMVAR(miInstalledMaps)
SYMVAR(miPointerScreenKey)
SYMVAR(miSpritePointerFuncs)
......
......@@ -423,10 +423,6 @@ extern DevPrivateKey miAllocateGCPrivateIndex(
void
);
extern PixmapPtr miGetScreenPixmap(
ScreenPtr pScreen
);
extern void miSetScreenPixmap(
PixmapPtr pPix
);
......
......@@ -2217,7 +2217,7 @@ miBankNewSerialNumber(
}
/* This entry modifies the banking interface */
_X_EXPORT Bool
Bool
miModifyBanking(
ScreenPtr pScreen,
miBankInfoPtr pBankInfo
......
......@@ -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,
......
......@@ -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)
......
......@@ -54,7 +54,7 @@ SOFTWARE.
#include "mi.h"
#include "inputstr.h"
_X_EXPORT void
void
miRecolorCursor(DeviceIntPtr pDev, ScreenPtr pScr,
CursorPtr pCurs, Bool displayed)
{
......
......@@ -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 */
......
......@@ -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)
......
......@@ -584,7 +584,7 @@ InitVisualWrap()
(*__miHookInitVisualsFunction)(&miInitVisualsProc);
}
_X_EXPORT void
void
miHookInitVisuals(void (**old)(miInitVisualsProcPtr *),
void (*new)(miInitVisualsProcPtr *))
{
......
......@@ -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,
......
......@@ -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)
{
......
......@@ -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)
......
......@@ -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)
{
......
......@@ -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;
......
......@@ -363,7 +363,7 @@ miZeroLine(
xfree(pspanInit);
}
_X_EXPORT void
void
miZeroDashLine(
DrawablePtr dst,
GCPtr pgc,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment