summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--balls.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/balls.c b/balls.c
index 77efa2d..1fcb5df 100644
--- a/balls.c
+++ b/balls.c
@@ -286,12 +286,10 @@ mass(uint radius) {
void
ball(void *arg) {
BallArg *barg;
- Ball b;
- Image *fill, *erase;
+ Ball b, other;
Point oldpos;
- int i;
- Ball other;
- int t;
+ Image *fill, *erase;
+ int i, t;
barg = (BallArg *) arg;
b = (Ball) barg->b;