diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-28 12:27:07 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2008-05-28 14:23:08 +0930 |
commit | 9b544fa40062b342ff3aa75f8f21d0bd4cec80ab (patch) | |
tree | c832c24f4d3d037bdaea0f69d8d9b9e93bf86fd2 /mi/migc.c | |
parent | 64677f6a167a5bee99e5dfb599a3c3a6fb5dffe7 (diff) |
mi: ansify.
Diffstat (limited to 'mi/migc.c')
-rw-r--r-- | mi/migc.c | 34 |
1 files changed, 9 insertions, 25 deletions
@@ -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; |