summaryrefslogtreecommitdiff
path: root/do_rects.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:58 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:48:58 +0000
commitee11b04c48b57b74beacd0a905fbc96a86c75931 (patch)
tree44e736a163ffea3bde0a475734960c28233b9b1a /do_rects.c
parent76312369bde4267f6405a4e1d26697258cc06b32 (diff)
Diffstat (limited to 'do_rects.c')
-rw-r--r--do_rects.c26
1 files changed, 11 insertions, 15 deletions
diff --git a/do_rects.c b/do_rects.c
index e380b74..9c99f2b 100644
--- a/do_rects.c
+++ b/do_rects.c
@@ -21,6 +21,7 @@ ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
******************************************************************************/
+/* $XFree86: xc/programs/x11perf/do_rects.c,v 1.5 2001/01/17 23:45:11 dawes Exp $ */
#include "x11perf.h"
#include "bitmaps.h"
@@ -28,10 +29,8 @@ SOFTWARE.
static XRectangle *rects;
static GC pgc;
-int InitRectangles(xp, p, reps)
- XParms xp;
- Parms p;
- int reps;
+int
+InitRectangles(XParms xp, Parms p, int reps)
{
int i;
int size = p->special;
@@ -86,10 +85,8 @@ int InitRectangles(xp, p, reps)
return reps;
}
-void DoRectangles(xp, p, reps)
- XParms xp;
- Parms p;
- int reps;
+void
+DoRectangles(XParms xp, Parms p, int reps)
{
int i;
@@ -99,13 +96,12 @@ void DoRectangles(xp, p, reps)
pgc = xp->fggc;
else
pgc = xp->bggc;
+ CheckAbort ();
}
}
-void DoOutlineRectangles (xp, p, reps)
- XParms xp;
- Parms p;
- int reps;
+void
+DoOutlineRectangles(XParms xp, Parms p, int reps)
{
int i;
@@ -115,12 +111,12 @@ void DoOutlineRectangles (xp, p, reps)
pgc = xp->fggc;
else
pgc = xp->bggc;
+ CheckAbort ();
}
}
-void EndRectangles(xp, p)
- XParms xp;
- Parms p;
+void
+EndRectangles(XParms xp, Parms p)
{
free(rects);
}