Skip to content

Commit

Permalink
Mark everything in misym.c as _X_EXPORT.
Browse files Browse the repository at this point in the history
  • Loading branch information
nwnk committed Feb 15, 2006
1 parent 6ad4325 commit 3fe482c
Show file tree
Hide file tree
Showing 36 changed files with 170 additions and 131 deletions.
38 changes: 38 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,41 @@
2006-02-15 Adam Jackson <[email protected]>
* mi/miarc.c:
* mi/mibank.c:
* mi/mibitblt.c:
* mi/mibstore.c:
* mi/micmap.c:
* mi/micursor.c:
* mi/midash.c:
* mi/midispcur.c:
* mi/miexpose.c:
* mi/mifillarc.c:
* mi/mifillrct.c:
* mi/migc.c:
* mi/miglblt.c:
* mi/miinitext.c:
* mi/mioverlay.c:
* mi/mipointer.c:
* mi/mipoly.c:
* mi/mipolycon.c:
* mi/mipolypnt.c:
* mi/mipolyrect.c:
* mi/mipolyseg.c:
* mi/mipolytext.c:
* mi/mipushpxl.c:
* mi/miregion.c:
* mi/miscrinit.c:
* mi/misprite.c:
* mi/mivaltree.c:
* mi/miwideline.c:
* mi/miwindow.c:
* mi/mizerarc.c:
* mi/mizerclip.c:
* mi/mizerline.c:
* miext/cw/cw.c:
* miext/damage/damage.c:
* render/miglyph.c:
Mark everything in misym.c as _X_EXPORT.

2006-02-15 Kristian Høgsberg <[email protected]>

* GL/symlink-mesa.sh:
Expand Down
4 changes: 2 additions & 2 deletions mi/miarc.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $XdotOrg: xc/programs/Xserver/mi/miarc.c,v 1.3 2005/04/20 12:25:45 daniels Exp $ */
/* $XdotOrg: xserver/xorg/mi/miarc.c,v 1.6 2005/07/03 08:53:51 daniels Exp $ */
/* $XFree86: xc/programs/Xserver/mi/miarc.c,v 3.14 2003/10/29 22:57:48 tsi Exp $ */
/***********************************************************
Expand Down Expand Up @@ -1073,7 +1073,7 @@ miFillWideEllipse(
* fuller explanation of this.)
*/

void
_X_EXPORT void
miPolyArc(pDraw, pGC, narcs, parcs)
DrawablePtr pDraw;
GCPtr pGC;
Expand Down
4 changes: 2 additions & 2 deletions mi/mibank.c
Original file line number Diff line number Diff line change
Expand Up @@ -2166,7 +2166,7 @@ miBankRestoreAreas(
SCREEN_RESTORE;
}

Bool
_X_EXPORT Bool
miInitializeBanking(
ScreenPtr pScreen,
unsigned int xsize,
Expand Down Expand Up @@ -2413,7 +2413,7 @@ miBankNewSerialNumber(
}

/* This entry modifies the banking interface */
Bool
_X_EXPORT Bool
miModifyBanking(
ScreenPtr pScreen,
miBankInfoPtr pBankInfo
Expand Down
8 changes: 4 additions & 4 deletions mi/mibitblt.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ extern int ffs(int);
* set them in the destination with SetSpans
* We let SetSpans worry about clipping to the destination.
*/
RegionPtr
_X_EXPORT RegionPtr
miCopyArea(pSrcDrawable, pDstDrawable,
pGC, xIn, yIn, widthSrc, heightSrc, xOut, yOut)
register DrawablePtr pSrcDrawable;
Expand Down Expand Up @@ -553,7 +553,7 @@ miOpqStipDrawable(pDraw, pGC, prgnSrc, pbits, srcx, w, h, dstx, dsty)
* build a source clip
* Use the bitmap we've built up as a Stipple for the destination
*/
RegionPtr
_X_EXPORT RegionPtr
miCopyPlane(pSrcDrawable, pDstDrawable,
pGC, srcx, srcy, width, height, dstx, dsty, bitPlane)
DrawablePtr pSrcDrawable;
Expand Down Expand Up @@ -647,7 +647,7 @@ miCopyPlane(pSrcDrawable, pDstDrawable,
* XY format:
* get the single plane specified in planemask
*/
void
_X_EXPORT void
miGetImage(pDraw, sx, sy, w, h, format, planeMask, pDst)
DrawablePtr pDraw;
int sx, sy, w, h;
Expand Down Expand Up @@ -748,7 +748,7 @@ miGetImage(pDraw, sx, sy, w, h, format, planeMask, pDst)
* ZPixmap format:
* This part is simple, just call SetSpans
*/
void
_X_EXPORT void
miPutImage(pDraw, pGC, depth, x, y, w, h, leftPad, format, pImage)
DrawablePtr pDraw;
GCPtr pGC;
Expand Down
2 changes: 1 addition & 1 deletion mi/mibstore.c
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ static GCFuncs miBSCheapGCFuncs = {
* must be previously initialized.
*/

void
_X_EXPORT void
miInitializeBackingStore (pScreen)
ScreenPtr pScreen;
{
Expand Down
30 changes: 15 additions & 15 deletions mi/micmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "globals.h"
#include "micmap.h"

ColormapPtr miInstalledMaps[MAXSCREENS];
_X_EXPORT ColormapPtr miInstalledMaps[MAXSCREENS];

static Bool miDoInitVisuals(VisualPtr *visualp, DepthPtr *depthp, int *nvisualp,
int *ndepthp, int *rootDepthp, VisualID *defaultVisp,
unsigned long sizes, int bitsPerRGB, int preferredVis);

miInitVisualsProcPtr miInitVisualsProc = miDoInitVisuals;
_X_EXPORT miInitVisualsProcPtr miInitVisualsProc = miDoInitVisuals;

int
_X_EXPORT int
miListInstalledColormaps(ScreenPtr pScreen, Colormap *pmaps)
{
if (miInstalledMaps[pScreen->myNum]) {
Expand All @@ -66,7 +66,7 @@ miListInstalledColormaps(ScreenPtr pScreen, Colormap *pmaps)
return 0;
}

void
_X_EXPORT void
miInstallColormap(ColormapPtr pmap)
{
int index = pmap->pScreen->myNum;
Expand All @@ -85,7 +85,7 @@ miInstallColormap(ColormapPtr pmap)
}
}

void
_X_EXPORT void
miUninstallColormap(ColormapPtr pmap)
{
int index = pmap->pScreen->myNum;
Expand All @@ -102,7 +102,7 @@ miUninstallColormap(ColormapPtr pmap)
}
}

void
_X_EXPORT void
miResolveColor(unsigned short *pred, unsigned short *pgreen,
unsigned short *pblue, VisualPtr pVisual)
{
Expand All @@ -124,7 +124,7 @@ miResolveColor(unsigned short *pred, unsigned short *pgreen,
}
}

Bool
_X_EXPORT Bool
miInitializeColormap(ColormapPtr pmap)
{
register unsigned i;
Expand Down Expand Up @@ -209,7 +209,7 @@ miInitializeColormap(ColormapPtr pmap)
outdefs[i].blue = pmap->blue[blue >> pVisual->offsetBlue].co.local.blue; \
}

int
_X_EXPORT int
miExpandDirectColors(ColormapPtr pmap, int ndef, xColorItem *indefs,
xColorItem *outdefs)
{
Expand Down Expand Up @@ -269,7 +269,7 @@ miExpandDirectColors(ColormapPtr pmap, int ndef, xColorItem *indefs,
return nresult;
}

Bool
_X_EXPORT Bool
miCreateDefColormap(ScreenPtr pScreen)
{
/*
Expand Down Expand Up @@ -386,7 +386,7 @@ static int miVisualPriority[] = {

static miVisualsPtr miVisuals;

void
_X_EXPORT void
miClearVisualTypes()
{
miVisualsPtr v;
Expand All @@ -398,7 +398,7 @@ miClearVisualTypes()
}


Bool
_X_EXPORT Bool
miSetVisualTypesAndMasks(int depth, int visuals, int bitsPerRGB,
int preferredCVC,
Pixel redMask, Pixel greenMask, Pixel blueMask)
Expand Down Expand Up @@ -432,14 +432,14 @@ miSetVisualTypesAndMasks(int depth, int visuals, int bitsPerRGB,
return TRUE;
}

Bool
_X_EXPORT Bool
miSetVisualTypes(int depth, int visuals, int bitsPerRGB, int preferredCVC)
{
return miSetVisualTypesAndMasks (depth, visuals, bitsPerRGB,
preferredCVC, 0, 0, 0);
}

int
_X_EXPORT int
miGetDefaultVisualMask(int depth)
{
if (depth > MAX_PSEUDO_DEPTH)
Expand All @@ -463,7 +463,7 @@ miVisualTypesSet (int depth)
return FALSE;
}

Bool
_X_EXPORT Bool
miSetPixmapDepths (void)
{
int d, f;
Expand All @@ -481,7 +481,7 @@ miSetPixmapDepths (void)
return TRUE;
}

Bool
_X_EXPORT Bool
miInitVisuals(VisualPtr *visualp, DepthPtr *depthp, int *nvisualp,
int *ndepthp, int *rootDepthp, VisualID *defaultVisp,
unsigned long sizes, int bitsPerRGB, int preferredVis)
Expand Down
2 changes: 1 addition & 1 deletion mi/micursor.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ SOFTWARE.

extern Bool Must_have_memory;

void
_X_EXPORT void
miRecolorCursor( pScr, pCurs, displayed)
ScreenPtr pScr;
CursorPtr pCurs;
Expand Down
2 changes: 1 addition & 1 deletion mi/midash.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ CheckDashStorage(
return(*ppseg+(nseg-1));
}

void
_X_EXPORT void
miStepDash (dist, pDashIndex, pDash, numInDashList, pDashOffset)
int dist; /* distance to step */
int *pDashIndex; /* current dash */
Expand Down
2 changes: 1 addition & 1 deletion mi/midispcur.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ static miSpriteCursorFuncRec miDCFuncs = {
miDCChangeSave,
};

Bool
_X_EXPORT Bool
miDCInitialize (pScreen, screenFuncs)
ScreenPtr pScreen;
miPointerScreenFuncPtr screenFuncs;
Expand Down
12 changes: 6 additions & 6 deletions mi/miexpose.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $XdotOrg: xc/programs/Xserver/mi/miexpose.c,v 1.3 2005/04/20 12:25:45 daniels Exp $ */
/* $XdotOrg: xserver/xorg/mi/miexpose.c,v 1.6 2005/07/03 08:53:51 daniels Exp $ */
/* $XFree86: xc/programs/Xserver/mi/miexpose.c,v 3.9tsi Exp $ */
/***********************************************************
Expand Down Expand Up @@ -130,7 +130,7 @@ exposing is done by the backing store's GraphicsExpose function, of course.
*/

RegionPtr
_X_EXPORT RegionPtr
miHandleExposures(pSrcDrawable, pDstDrawable,
pGC, srcx, srcy, width, height, dstx, dsty, plane)
register DrawablePtr pSrcDrawable;
Expand Down Expand Up @@ -379,7 +379,7 @@ miHandleExposures(pSrcDrawable, pDstDrawable,

/* send GraphicsExpose events, or a NoExpose event, based on the region */

void
_X_EXPORT void
miSendGraphicsExpose (client, pRgn, drawable, major, minor)
ClientPtr client;
RegionPtr pRgn;
Expand Down Expand Up @@ -493,7 +493,7 @@ miSendExposures(pWin, pRgn, dx, dy)
DEALLOCATE_LOCAL(pEvent);
}

void
_X_EXPORT void
miWindowExposures(pWin, prgn, other_exposed)
WindowPtr pWin;
register RegionPtr prgn, other_exposed;
Expand Down Expand Up @@ -630,7 +630,7 @@ tossGC (
}


void
_X_EXPORT void
miPaintWindow(pWin, prgn, what)
register WindowPtr pWin;
RegionPtr prgn;
Expand Down Expand Up @@ -884,7 +884,7 @@ int what;
/* MICLEARDRAWABLE -- sets the entire drawable to the background color of
* the GC. Useful when we have a scratch drawable and need to initialize
* it. */
void
_X_EXPORT void
miClearDrawable(pDraw, pGC)
DrawablePtr pDraw;
GCPtr pGC;
Expand Down
6 changes: 3 additions & 3 deletions mi/mifillarc.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Author: Bob Scheifler, MIT X Consortium
#define Dsin(d) sin((double)d*(M_PI/11520.0))
#define Dcos(d) cos((double)d*(M_PI/11520.0))

void
_X_EXPORT void
miFillArcSetup(arc, info)
register xArc *arc;
register miFillArcRec *info;
Expand Down Expand Up @@ -316,7 +316,7 @@ miGetPieEdge(
miGetArcEdge(arc, edge, k, top, left);
}

void
_X_EXPORT void
miFillArcSliceSetup(arc, slice, pGC)
register xArc *arc;
register miArcSliceRec *slice;
Expand Down Expand Up @@ -785,7 +785,7 @@ miFillArcSliceD(
* Since we don't have to worry about overlapping segments, we can just
* fill each arc as it comes.
*/
void
_X_EXPORT void
miPolyFillArc(pDraw, pGC, narcs, parcs)
DrawablePtr pDraw;
GCPtr pGC;
Expand Down
2 changes: 1 addition & 1 deletion mi/mifillrct.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ SOFTWARE.
* then call FillSpans to fill each rectangle. We let FillSpans worry about
* clipping to the destination
*/
void
_X_EXPORT void
miPolyFillRect(pDrawable, pGC, nrectFill, prectInit)
DrawablePtr pDrawable;
GCPtr pGC;
Expand Down
Loading

0 comments on commit 3fe482c

Please sign in to comment.