summaryrefslogtreecommitdiff
path: root/mi/migc.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-05-28 12:27:07 +0930
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-05-28 14:23:08 +0930
commit9b544fa40062b342ff3aa75f8f21d0bd4cec80ab (patch)
treec832c24f4d3d037bdaea0f69d8d9b9e93bf86fd2 /mi/migc.c
parent64677f6a167a5bee99e5dfb599a3c3a6fb5dffe7 (diff)
mi: ansify.
Diffstat (limited to 'mi/migc.c')
-rw-r--r--mi/migc.c34
1 files changed, 9 insertions, 25 deletions
diff --git a/mi/migc.c b/mi/migc.c
index 46643ab26..7fb28c43f 100644
--- a/mi/migc.c
+++ b/mi/migc.c
@@ -39,16 +39,13 @@ from The Open Group.
/* ARGSUSED */
_X_EXPORT void
-miChangeGC(pGC, mask)
- GCPtr pGC;
- unsigned long mask;
+miChangeGC(GCPtr pGC, unsigned long mask)
{
return;
}
_X_EXPORT void
-miDestroyGC(pGC)
- GCPtr pGC;
+miDestroyGC(GCPtr pGC)
{
if (pGC->pRotatedPixmap)
(*pGC->pScreen->DestroyPixmap) (pGC->pRotatedPixmap);
@@ -62,8 +59,7 @@ miDestroyGC(pGC)
*/
_X_EXPORT GCOpsPtr
-miCreateGCOps(prototype)
- GCOpsPtr prototype;
+miCreateGCOps(GCOpsPtr prototype)
{
GCOpsPtr ret;
@@ -78,8 +74,7 @@ miCreateGCOps(prototype)
}
_X_EXPORT void
-miDestroyGCOps(ops)
- GCOpsPtr ops;
+miDestroyGCOps(GCOpsPtr ops)
{
if (ops->devPrivate.val)
xfree(ops);
@@ -87,8 +82,7 @@ miDestroyGCOps(ops)
_X_EXPORT void
-miDestroyClip(pGC)
- GCPtr pGC;
+miDestroyClip(GCPtr pGC)
{
if (pGC->clientClipType == CT_NONE)
return;
@@ -109,11 +103,7 @@ miDestroyClip(pGC)
}
_X_EXPORT void
-miChangeClip(pGC, type, pvalue, nrects)
- GCPtr pGC;
- int type;
- pointer pvalue;
- int nrects;
+miChangeClip( GCPtr pGC, int type, pointer pvalue, int nrects)
{
(*pGC->funcs->DestroyClip) (pGC);
if (type == CT_PIXMAP)
@@ -140,8 +130,7 @@ miChangeClip(pGC, type, pvalue, nrects)
}
_X_EXPORT void
-miCopyClip(pgcDst, pgcSrc)
- GCPtr pgcDst, pgcSrc;
+miCopyClip(GCPtr pgcDst, GCPtr pgcSrc)
{
RegionPtr prgnNew;
@@ -165,18 +154,13 @@ miCopyClip(pgcDst, pgcSrc)
/* ARGSUSED */
_X_EXPORT void
-miCopyGC(pGCSrc, changes, pGCDst)
- GCPtr pGCSrc;
- unsigned long changes;
- GCPtr pGCDst;
+miCopyGC(GCPtr pGCSrc, unsigned long changes, GCPtr pGCDst)
{
return;
}
_X_EXPORT void
-miComputeCompositeClip(pGC, pDrawable)
- GCPtr pGC;
- DrawablePtr pDrawable;
+miComputeCompositeClip( GCPtr pGC, DrawablePtr pDrawable)
{
ScreenPtr pScreen;